Skip to content

Commit 944b320

Browse files
bocharsky-bwjaviereguiluz
authored andcommitted
Install stty required for tests on ubuntu-latest
1 parent adf3116 commit 944b320

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/Command/AddUserCommandTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ class AddUserCommandTest extends KernelTestCase
2828

2929
protected function setUp(): void
3030
{
31-
exec('stty 2>&1', $output, $exitcode);
32-
$isSttySupported = 0 === $exitcode;
33-
34-
if ('Windows' === \PHP_OS_FAMILY || !$isSttySupported) {
35-
$this->markTestSkipped('`stty` is required to test this command.');
31+
if ('Windows' === \PHP_OS_FAMILY) {
32+
$this->markTestSkipped('Windows OS does not support testing this command.');
3633
}
3734
}
3835

0 commit comments

Comments
 (0)