terminals are not interactive on Travis
You cannot assume that the input is always interactive when the tests for the `Application` class are executed. The expected value depends on the terminal being interactive.
This commit is contained in:
parent
7e573f4f8a
commit
d58ac9ec08
@ -972,7 +972,6 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
|
||||
$tester = new ApplicationTester($application);
|
||||
$tester->run(array('command' => 'help'));
|
||||
|
||||
$this->assertTrue($tester->getInput()->isInteractive());
|
||||
$this->assertFalse($tester->getInput()->hasParameterOption(array('--no-interaction', '-n')));
|
||||
|
||||
$inputStream = $application->getHelperSet()->get('question')->getInputStream();
|
||||
|
Reference in New Issue
Block a user