diff --git a/tests/coverage.php b/tests/coverage.php index 0a0ebd1f4..46a83c7e9 100644 --- a/tests/coverage.php +++ b/tests/coverage.php @@ -39,19 +39,18 @@ dt { clear: both; } '; if(!isset($coverage[$file])){ $html .= 'No coverage for this file'; return $html; } $coveredLines = $coverage[$file]; - $fileArray = file(str_replace($path, Doctrine::getPath(), $file)); + $fileArray = file(str_replace($path, Doctrine::getPath() . "/", $file)); $html .= '
' . "\n"; foreach($fileArray as $num => $line){ $linenum = $num+1;