Skip to content

Commit

Permalink
Ensuring the correct HtmlReporter class is used in the web test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 24, 2011
1 parent 3589a17 commit d63dde0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Cake/TestSuite/CakeTestSuiteCommand.php
Expand Up @@ -161,7 +161,8 @@ public function handleReporter($reporter) {
$object = null;

$type = strtolower($reporter);
$coreClass = 'Cake' . ucwords($reporter) . 'Reporter';
$reporter = ucwords($reporter);
$coreClass = 'Cake' . $reporter . 'Reporter';
App::uses($coreClass, 'TestSuite/Reporter');

$appClass = $reporter . 'Reporter';
Expand Down

0 comments on commit d63dde0

Please sign in to comment.