Skip to content

Do not skip user list command test because of stty #1230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions tests/Command/AbstractCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@

abstract class AbstractCommandTest extends KernelTestCase
{
protected function setUp(): void
{
if ('Windows' === \PHP_OS_FAMILY) {
$this->markTestSkipped('`stty` is required to test this command.');
}
}

/**
* This helper method abstracts the boilerplate code needed to test the
* execution of a command.
Expand Down
7 changes: 7 additions & 0 deletions tests/Command/AddUserCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ class AddUserCommandTest extends AbstractCommandTest
'full-name' => 'Chuck Norris',
];

protected function setUp(): void
{
if ('Windows' === \PHP_OS_FAMILY) {
$this->markTestSkipped('`stty` is required to test this command.');
}
}

/**
* @dataProvider isAdminDataProvider
*
Expand Down