From d58ac9ec0898576ad36826dab2cb58325d44695c Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 11 Dec 2014 21:21:50 +0100 Subject: [PATCH] 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. --- src/Symfony/Component/Console/Tests/ApplicationTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 0156e2906c..1d85d7be25 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -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();