We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63ad95 commit 1be9abbCopy full SHA for 1be9abb
tests/AppBundle/Command/AddUserCommandTest.php
@@ -26,6 +26,16 @@ class AddUserCommandTest extends KernelTestCase
26
'full-name' => 'Chuck Norris',
27
];
28
29
+ protected function setUp()
30
+ {
31
+ // check if stty is supported, because it's needed for questions with hidden answers
32
+ exec('stty 2>&1', $output, $exitcode);
33
+
34
+ if (0 !== $exitcode) {
35
+ $this->markTestSkipped('`stty` is required to test commands.');
36
+ }
37
38
39
/**
40
* @dataProvider isAdminDataProvider
41
*
0 commit comments