mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Ensuring the correct HtmlReporter class is used in the web test runner
This commit is contained in:
parent
3589a17321
commit
d63dde0fde
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
|
|||
$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';
|
||||
|
|
Loading…
Reference in a new issue