mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing the testsuite shell and renaming class for BC
This commit is contained in:
parent
48b3593a25
commit
ac3caf3154
2 changed files with 5 additions and 4 deletions
|
@ -19,11 +19,12 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
App::uses('Shell', 'Console');
|
||||
App::uses('CakeTestSuiteDispatcher', 'TestSuite');
|
||||
App::uses('CakeTestSuiteCommand', 'TestSuite');
|
||||
App::uses('CakeTestLoader', 'TestSuite');
|
||||
|
||||
class TestSuiteShell extends Shell {
|
||||
class TestsuiteShell extends Shell {
|
||||
|
||||
/**
|
||||
* Dispatcher object for the run.
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
*/
|
||||
|
||||
App::uses('ShellDispatcher', 'Console');
|
||||
App::uses('TestSuiteShell', 'Console/Command');
|
||||
App::uses('TestsuiteShell', 'Console/Command');
|
||||
|
||||
class TestSuiteShellTest extends CakeTestCase {
|
||||
class TestsuiteShellTest extends CakeTestCase {
|
||||
|
||||
|
||||
/**
|
||||
|
@ -33,7 +33,7 @@ class TestSuiteShellTest extends CakeTestCase {
|
|||
$in = $this->getMock('ConsoleInput', array(), array(), '', false);
|
||||
|
||||
$this->Shell = $this->getMock(
|
||||
'TestSuiteShell',
|
||||
'TestsuiteShell',
|
||||
array('in', 'out', 'hr', 'help', 'error', 'err', '_stop', 'initialize', 'run', 'clear'),
|
||||
array($out, $out, $in)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue