Skip to content

Commit

Permalink
fix risky test that doesn't perform any assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Dec 7, 2024
1 parent 67191f7 commit 799445d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tests/Helper/ProgressBarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ public function testRegularTimeEstimation()

public function testRegularTimeRemainingWithDifferentStartAtAndCustomDisplay()
{
$this->expectNotToPerformAssertions();

ProgressBar::setFormatDefinition('custom', ' %current%/%max% [%bar%] %percent:3s%% %remaining% %estimated%');
$bar = new ProgressBar($output = $this->getOutputStream(), 1_200, 0);
$bar = new ProgressBar($this->getOutputStream(), 1_200, 0);
$bar->setFormat('custom');
$bar->start(1_200, 600);
}
Expand Down

0 comments on commit 799445d

Please sign in to comment.