diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index c7e8495265..d61418f37b 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -1587,23 +1587,6 @@ class ApplicationTest extends TestCase $this->assertStringContainsString('The foo:bar command', $tester->getDisplay()); } - /** - * @requires function posix_isatty - */ - public function testCanCheckIfTerminalIsInteractive() - { - $application = new CustomDefaultCommandApplication(); - $application->setAutoExit(false); - - $tester = new ApplicationTester($application); - $tester->run(['command' => 'help']); - - $this->assertFalse($tester->getInput()->hasParameterOption(['--no-interaction', '-n'])); - - $inputStream = $tester->getInput()->getStream(); - $this->assertEquals($tester->getInput()->isInteractive(), @posix_isatty($inputStream)); - } - public function testRunLazyCommandService() { $container = new ContainerBuilder();