Browse Source

Fix tests for other shells failing due to new PluginShell addition.

ADmad 11 years ago
parent
commit
41b75056ef

+ 1 - 1
tests/TestCase/Shell/CommandListShellTest.php

@@ -94,7 +94,7 @@ class CommandListShellTest extends TestCase {
 		$expected = "/\[.*TestPluginTwo.*\] example, welcome/";
 		$this->assertRegExp($expected, $output);
 
-		$expected = "/\[.*CORE.*\] i18n, orm_cache, server, test/";
+		$expected = "/\[.*CORE.*\] i18n, orm_cache, plugin, server, test/";
 		$this->assertRegExp($expected, $output);
 
 		$expected = "/\[.*app.*\] sample/";

+ 1 - 1
tests/TestCase/Shell/CompletionShellTest.php

@@ -113,7 +113,7 @@ class CompletionShellTest extends TestCase {
 		$output = $this->out->output;
 
 		$expected = "TestPlugin.example TestPlugin.sample " .
-			"TestPluginTwo.example TestPluginTwo.welcome i18n orm_cache server test sample\n";
+			"TestPluginTwo.example TestPluginTwo.welcome i18n orm_cache plugin server test sample\n";
 		$this->assertTextEquals($expected, $output);
 	}