Fix failing tests

This commit is contained in:
Robert 2015-01-16 15:07:08 +01:00
parent f4933b29a8
commit db1442573d
2 changed files with 5 additions and 3 deletions
lib/Cake/Test/Case/Console/Command

View file

@ -125,7 +125,7 @@ class CompletionShellTest extends CakeTestCase {
$this->Shell->runCommand('commands', array()); $this->Shell->runCommand('commands', array());
$output = $this->Shell->stdout->output; $output = $this->Shell->stdout->output;
$expected = "TestPlugin.example TestPluginTwo.example TestPluginTwo.welcome acl api bake command_list completion console i18n schema server test testsuite upgrade sample\n"; $expected = "TestPlugin.example TestPlugin.test_plugin TestPluginTwo.example TestPluginTwo.welcome acl api bake command_list completion console i18n schema server test testsuite upgrade sample\n";
$this->assertEquals($expected, $output); $this->assertEquals($expected, $output);
} }

View file

@ -85,7 +85,8 @@ class CommandTaskTest extends CakeTestCase {
'upgrade' 'upgrade'
), ),
'TestPlugin' => array( 'TestPlugin' => array(
'example' 'example',
'test_plugin'
), ),
'TestPluginTwo' => array( 'TestPluginTwo' => array(
'example', 'example',
@ -108,6 +109,7 @@ class CommandTaskTest extends CakeTestCase {
$expected = array( $expected = array(
'TestPlugin.example', 'TestPlugin.example',
'TestPlugin.test_plugin',
'TestPluginTwo.example', 'TestPluginTwo.example',
'TestPluginTwo.welcome', 'TestPluginTwo.welcome',
'acl', 'acl',