diff --git a/test/lib/coverage.php b/test/lib/coverage.php index 4be8558fa1..ec478d0d42 100644 --- a/test/lib/coverage.php +++ b/test/lib/coverage.php @@ -33,7 +33,7 @@ class coverage $this->traceFile = $tracePath . $this->moduleName . '_' . $this->testType . '_' . basename($this->runFile, '.php') . '.json'; if(!is_dir($tracePath)) mkdir($tracePath, 0777, true); - if(!is_file($this->traceFile) && $this->moduleName !== 'app') file_put_contents($this->traceFile, json_encode(array())); + if(!is_file($this->traceFile) && !in_array($this->moduleName, array('app', 'www'))) file_put_contents($this->traceFile, json_encode(array())); return true; }