Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abe11a3

Browse files
committed
[Console] Fix tests
1 parent e004102 commit abe11a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function testAskWithAutocomplete()
215215

216216
public function testAskWithAutocompleteTrimmable()
217217
{
218-
if (!$this->hasSttyAvailable()) {
218+
if (!Terminal::hasSttyAvailable()) {
219219
$this->markTestSkipped('`stty` is required to test autocomplete functionality');
220220
}
221221

@@ -249,7 +249,7 @@ public function testAskWithAutocompleteTrimmable()
249249

250250
public function testAskWithAutocompleteCallback()
251251
{
252-
if (!$this->hasSttyAvailable()) {
252+
if (!Terminal::hasSttyAvailable()) {
253253
$this->markTestSkipped('`stty` is required to test autocomplete functionality');
254254
}
255255

0 commit comments

Comments
 (0)