Skip to content

Commit

Permalink
Merge branch '6.4' into 7.2
Browse files Browse the repository at this point in the history
* 6.4:
  fix risky test that doesn't perform any assertions
  • Loading branch information
xabbuh committed Dec 9, 2024
2 parents 13189ef + 799445d commit 722fa7c
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 722fa7c

Please sign in to comment.