Files
n98-magerun2/dev/tests/N98/Magento/Command/HelpCommandTest.php
T
Tom Klingenberg bdebdb1753 [FIX] WS fixes
- no newline at the end of file
2015-11-11 01:18:16 +01:00

24 lines
569 B
PHP

<?php
namespace N98\Magento\Command;
use Symfony\Component\Console\Tester\CommandTester;
use N98\Magento\Command\PHPUnit\TestCase;
class HelpCommandTest extends TestCase
{
public function testExecute()
{
$command = $this->getApplication()->find('help');
$commandTester = new CommandTester($command);
$commandTester->execute(
array(
'command' => 'help'
)
);
$this->assertContains('The help command displays help for a given command', $commandTester->getDisplay());
}
}