Skip to content

Commit 1efae63

Browse files
committed
bug #33617 [Console] Fix tests (fabpot)
This PR was merged into the 4.4 branch. Discussion ---------- [Console] Fix tests | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> Commits ------- abe11a3 [Console] Fix tests
2 parents e6eadae + abe11a3 commit 1efae63

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy