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:
Christian Flothmann 2014-12-11 21:21:50 +01:00
parent 7e573f4f8a
commit d58ac9ec08
1 changed files with 0 additions and 1 deletions

View File

@ -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();