From db1442573dba65a29cd230d0b9eeddd223e7e37c Mon Sep 17 00:00:00 2001 From: Robert Date: Fri, 16 Jan 2015 15:07:08 +0100 Subject: [PATCH] Fix failing tests --- lib/Cake/Test/Case/Console/Command/CompletionShellTest.php | 2 +- lib/Cake/Test/Case/Console/Command/Task/CommandTaskTest.php | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Test/Case/Console/Command/CompletionShellTest.php b/lib/Cake/Test/Case/Console/Command/CompletionShellTest.php index 7ef3ef53a..b28db0c65 100644 --- a/lib/Cake/Test/Case/Console/Command/CompletionShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/CompletionShellTest.php @@ -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); } diff --git a/lib/Cake/Test/Case/Console/Command/Task/CommandTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/CommandTaskTest.php index 6a1293259..1aa91ffd7 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/CommandTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/CommandTaskTest.php @@ -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',