[Console] Remove a useless assert in QuestionHelperTest
This commit is contained in:
parent
0678b3e6f8
commit
55b236144f
@ -191,7 +191,7 @@ class QuestionHelperTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$dialog->setInputStream($this->getInputStream("green\nyellow\norange\n"));
|
$dialog->setInputStream($this->getInputStream("green\nyellow\norange\n"));
|
||||||
try {
|
try {
|
||||||
$this->assertEquals('white', $dialog->ask($this->createInputInterfaceMock(), $this->createOutputInterface(), $question));
|
$dialog->ask($this->createInputInterfaceMock(), $this->createOutputInterface(), $question);
|
||||||
$this->fail();
|
$this->fail();
|
||||||
} catch (\InvalidArgumentException $e) {
|
} catch (\InvalidArgumentException $e) {
|
||||||
$this->assertEquals($error, $e->getMessage());
|
$this->assertEquals($error, $e->getMessage());
|
||||||
|
Reference in New Issue
Block a user