Skip to content

Commit

Permalink
Fixing the loading of the HtmlCodeCoverageReport class
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 12, 2011
1 parent ecc6a22 commit 6f232c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
Expand Up @@ -157,8 +157,7 @@ public function paintFooter($result) {
* @return void
*/
public function paintCoverage(array $coverage) {
$file = dirname(dirname(__FILE__)) . '/coverage/html_coverage_report.php';
include_once $file;
App::uses('HtmlCoverageReport', 'TestSuite/Coverage');
$reporter = new HtmlCoverageReport($coverage, $this);
echo $reporter->report();
}
Expand Down

0 comments on commit 6f232c4

Please sign in to comment.