Browse Source

Fixed tests expecting integration shell

Jeremy Harris 8 years ago
parent
commit
0969e51575

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

@@ -82,7 +82,7 @@ class CommandListShellTest extends TestCase
         $expected = "/\[.*CORE.*\] cache, i18n, orm_cache, plugin, routes, server/";
         $this->assertRegExp($expected, $output);
 
-        $expected = "/\[.*app.*\] i18m, sample/";
+        $expected = "/\[.*app.*\] i18m, integration, sample/";
         $this->assertRegExp($expected, $output);
     }
 
@@ -103,7 +103,7 @@ class CommandListShellTest extends TestCase
         $expected = "/\[.*CORE.*\] cache, orm_cache, plugin, routes, server/";
         $this->assertRegExp($expected, $output);
 
-        $expected = "/\[.*app.*\] i18n, sample/";
+        $expected = "/\[.*app.*\] i18n, integration, sample/";
         $this->assertRegExp($expected, $output);
     }
 

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

@@ -117,7 +117,7 @@ class CompletionShellTest extends TestCase
         $output = $this->out->output;
 
         $expected = "TestPlugin.example TestPlugin.sample TestPluginTwo.example unique welcome " .
-            "cache i18n orm_cache plugin routes server i18m sample testing_dispatch\n";
+            "cache i18n orm_cache plugin routes server i18m integration sample testing_dispatch\n";
         $this->assertTextEquals($expected, $output);
     }