mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
update test case
This commit is contained in:
parent
b4228dcaee
commit
6ccb1f2fb0
1 changed files with 4 additions and 4 deletions
|
@ -18,9 +18,9 @@
|
|||
*/
|
||||
|
||||
App::uses('ShellDispatcher', 'Console');
|
||||
App::uses('TestsuiteShell', 'Console/Command');
|
||||
App::uses('TestShell', 'Console/Command');
|
||||
|
||||
class TestsuiteShellTest extends CakeTestCase {
|
||||
class TestShellTest extends CakeTestCase {
|
||||
|
||||
|
||||
/**
|
||||
|
@ -33,7 +33,7 @@ class TestsuiteShellTest extends CakeTestCase {
|
|||
$in = $this->getMock('ConsoleInput', array(), array(), '', false);
|
||||
|
||||
$this->Shell = $this->getMock(
|
||||
'TestsuiteShell',
|
||||
'TestShell',
|
||||
array('in', 'out', 'hr', 'help', 'error', 'err', '_stop', 'initialize', '_run', 'clear'),
|
||||
array($out, $out, $in)
|
||||
);
|
||||
|
@ -102,4 +102,4 @@ class TestsuiteShellTest extends CakeTestCase {
|
|||
);
|
||||
$this->Shell->main();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue