From abe11a30246f8f4da4e82ce26dcf9a832ee2106b Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 17 Sep 2019 16:59:18 +0200 Subject: [PATCH] [Console] Fix tests --- .../Component/Console/Tests/Helper/QuestionHelperTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php b/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php index c13f0a91f9e68..d12bfc6b57d7c 100644 --- a/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/QuestionHelperTest.php @@ -215,7 +215,7 @@ public function testAskWithAutocomplete() public function testAskWithAutocompleteTrimmable() { - if (!$this->hasSttyAvailable()) { + if (!Terminal::hasSttyAvailable()) { $this->markTestSkipped('`stty` is required to test autocomplete functionality'); } @@ -249,7 +249,7 @@ public function testAskWithAutocompleteTrimmable() public function testAskWithAutocompleteCallback() { - if (!$this->hasSttyAvailable()) { + if (!Terminal::hasSttyAvailable()) { $this->markTestSkipped('`stty` is required to test autocomplete functionality'); }