From 944b320e40decd4b13027a1ff5dbee24e5414d32 Mon Sep 17 00:00:00 2001 From: bocharsky-bw Date: Sun, 20 Jun 2021 23:57:42 +0300 Subject: [PATCH] Install stty required for tests on ubuntu-latest --- tests/Command/AddUserCommandTest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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.'); } }