Skip to content

Commit

Permalink
Fix up test that started failing because of new shell class.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 13, 2017
1 parent 43229d4 commit 46c5e17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase/Console/ShellDispatcherTest.php
Expand Up @@ -104,13 +104,15 @@ public function testFindShell()
public function testAddShortPluginAlias()
{
$expected = [
'Company' => 'Company/TestPluginThree.company',
'Example' => 'TestPlugin.example'
];
$result = $this->dispatcher->addShortPluginAliases();
$this->assertSame($expected, $result, 'Should return the list of aliased plugin shells');

ShellDispatcher::alias('Example', 'SomeOther.PluginsShell');
$expected = [
'Company' => 'Company/TestPluginThree.company',
'Example' => 'SomeOther.PluginsShell'
];
$result = $this->dispatcher->addShortPluginAliases();
Expand Down

0 comments on commit 46c5e17

Please sign in to comment.