mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating coverage report initialization.
This commit is contained in:
parent
fad99ad1f4
commit
ccf5601a69
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue