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

View file

@ -125,7 +125,7 @@ class CompletionShellTest extends CakeTestCase {
$this->Shell->runCommand('commands', array());
$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);
}

View file

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