8000 fix risky test that doesn't perform any assertions · symfony/symfony@4cca70b · GitHub
[go: up one dir, main page]

Skip to content

Commit 4cca70b

Browse files
committed
fix risky test that doesn't perform any assertions
1 parent caa1be7 commit 4cca70b

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