Skip to content

Commit

Permalink
Adding clear to CodeCoverageManager.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 10, 2010
1 parent d7164c4 commit 6458072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/code_coverage_manager.php
Expand Up @@ -214,7 +214,6 @@ function report($output = true) {
}
}
$dump = xdebug_get_code_coverage();
xdebug_stop_code_coverage();
$coverageData = array();
foreach ($dump as $file => $data) {
if (in_array($file, $testObjectFiles)) {
Expand All @@ -240,6 +239,7 @@ function report($output = true) {
break;
}
}
CodeCoverageManager::clear();

if ($output) {
echo $result;
Expand Down

0 comments on commit 6458072

Please sign in to comment.