[Console] Remove a useless assert in QuestionHelperTest

This commit is contained in:
ogizanagi 2015-05-16 15:04:19 +02:00
parent 0678b3e6f8
commit 55b236144f

View File

@ -191,7 +191,7 @@ class QuestionHelperTest extends \PHPUnit_Framework_TestCase
$dialog->setInputStream($this->getInputStream("green\nyellow\norange\n"));
try {
$this->assertEquals('white', $dialog->ask($this->createInputInterfaceMock(), $this->createOutputInterface(), $question));
$dialog->ask($this->createInputInterfaceMock(), $this->createOutputInterface(), $question);
$this->fail();
} catch (\InvalidArgumentException $e) {
$this->assertEquals($error, $e->getMessage());