E617 minor #59127 [Console] fix risky test that doesn't perform any assert… · symfony/symfony@2e1a628 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e1a628

Browse files
minor #59127 [Console] fix risky test that doesn't perform any assertions (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Console] fix risky test that doesn't perform any assertions | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 4cca70b fix risky test that doesn't perform any assertions
2 parents 91835ef + 4cca70b commit 2e1a628

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ public function testRegularTimeEstimation()
112112

113113
public function testRegularTimeRemainingWithDifferentStartAtAndCustomDisplay()
114114
{
115+
$this->expectNotToPerformAssertions();
116+
115117
ProgressBar::setFormatDefinition('custom', ' %current%/%max% [%bar%] %percent:3s%% %remaining% %estimated%');
116-
$bar = new ProgressBar($output = $this->getOutputStream(), 1_200, 0);
118+
$bar = new ProgressBar($this->getOutputStream(), 1_200, 0);
117119
$bar->setFormat('custom');
118120
$bar->start(1_200, 600);
119121
}

0 commit comments

Comments
 (0)
0