Permalink
Browse files

Ensuring the correct HtmlReporter class is used in the web test runner

  • Loading branch information...
lorenzo committed Jul 24, 2011
1 parent 3589a17 commit d63dde0fdeba6f1885ffc1101eb97bbdcfeca216
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/TestSuite/CakeTestSuiteCommand.php
@@ -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';

0 comments on commit d63dde0

Please sign in to comment.