8000 Remove useless testCanCheckIfTerminalIsInteractive test case · dontub/symfony@a84e4e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a84e4e0

Browse files
committed
Remove useless testCanCheckIfTerminalIsInteractive test case
1 parent 14ccaf5 commit a84e4e0
Copy full SHA for a84e4e0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,23 +1587,6 @@ public function testSetRunCustomSingleCommand()
15871587
$this->assertStringContainsString('The foo:bar command', $tester->getDisplay());
15881588
}
15891589

1590-
/**
1591-
* @requires function posix_isatty
1592-
*/
1593-
public function testCanCheckIfTerminalIsInteractive()
1594-
{
1595-
$application = new CustomDefaultCommandApplication();
1596-
$application->setAutoExit(false);
1597-
1598-
$tester = new ApplicationTester($application);
1599-
$tester->run(['command' => 'help']);
1600-
1601-
$this->assertFalse($tester->getInput()->hasParameterOption(['--no-interaction', '-n']));
1602-
1603-
$inputStream = $tester->getInput()->getStream();
1604-
$this->assertEquals($tester->getInput()->isInteractive(), @posix_isatty($inputStream));
1605-
}
1606-
16071590
public function testRunLazyCommandService()
16081591
{
16091592
$container = new ContainerBuilder();

0 commit comments

Comments
 (0)
0