Updating coverage report initialization.

This commit is contained in:
Mark Story 2010-05-08 18:12:03 -04:00
parent fad99ad1f4
commit ccf5601a69

View file

@ -190,7 +190,7 @@ class CakeHtmlReporter extends CakeBaseReporter implements PHPUnit_Framework_Tes
public function paintCoverage($coverage) {
$file = dirname(dirname(__FILE__)) . '/coverage/html_coverage_report.php';
include $file;
$reporter = new HtmlCoverageReport($coverage);
$reporter = new HtmlCoverageReport($coverage, $this);
echo $reporter->report();
}