update test case

This commit is contained in:
AD7six 2011-10-18 10:21:53 +02:00
parent b4228dcaee
commit 6ccb1f2fb0

View file

@ -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();
}
}
}