File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
src/Symfony/Component/Console/Tests Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -1587,23 +1587,6 @@ public function testSetRunCustomSingleComman
8000
d()
1587
1587
$ this ->assertStringContainsString ('The foo:bar command ' , $ tester ->getDisplay ());
1588
1588
}
1589
1589
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
-
1607
1590
public function testRunLazyCommandService ()
1608
1591
{
1609
1592
$ container = new ContainerBuilder ();
You can’t perform that action at this time.
0 commit comments