Browse Source

Fix up test that started failing because of new shell class.

Mark Story 8 years ago
parent
commit
46c5e1782f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/Console/ShellDispatcherTest.php

+ 2 - 0
tests/TestCase/Console/ShellDispatcherTest.php

@@ -104,6 +104,7 @@ class ShellDispatcherTest extends TestCase
     public function testAddShortPluginAlias()
     {
         $expected = [
+            'Company' => 'Company/TestPluginThree.company',
             'Example' => 'TestPlugin.example'
         ];
         $result = $this->dispatcher->addShortPluginAliases();
@@ -111,6 +112,7 @@ class ShellDispatcherTest extends TestCase
 
         ShellDispatcher::alias('Example', 'SomeOther.PluginsShell');
         $expected = [
+            'Company' => 'Company/TestPluginThree.company',
             'Example' => 'SomeOther.PluginsShell'
         ];
         $result = $this->dispatcher->addShortPluginAliases();