Skip to content

Commit

Permalink
Fix application test
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeu committed May 12, 2017
1 parent b1ebe73 commit 7a93157
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/Cli/ApplicationTest.php
Expand Up @@ -157,12 +157,11 @@ public function testHelpOptionBeforeCommandPrintsHelp()

public function testHelpOptionWithAnsiOptionPrintsHelp()
{
self::markTestSkipped('Will be fixed when Symfony Console is replaced');
$_SERVER['argv'] = ['', '--help', '--ansi'];
$input = new ArgvInput();
$output = new BufferedOutput();

(new Application('', '', $this->createMock(DI::class)))->doRun($input, $output);
$this->assertContains('help [options]', $output->fetch());
$this->assertContains('list [options]', $output->fetch());
}
}

0 comments on commit 7a93157

Please sign in to comment.