diff --git a/tests/Command/AddUserCommandTest.php b/tests/Command/AddUserCommandTest.php index 908c78126..27ae4a7b3 100644 --- a/tests/Command/AddUserCommandTest.php +++ b/tests/Command/AddUserCommandTest.php @@ -28,11 +28,8 @@ class AddUserCommandTest extends KernelTestCase protected function setUp(): void { - exec('stty 2>&1', $output, $exitcode); - $isSttySupported = 0 === $exitcode; - - if ('Windows' === \PHP_OS_FAMILY || !$isSttySupported) { - $this->markTestSkipped('`stty` is required to test this command.'); + if ('Windows' === \PHP_OS_FAMILY) { + $this->markTestSkipped('Windows OS does not support testing this command.'); } }