Skip to content

Commit

Permalink
Check for correct message
Browse files Browse the repository at this point in the history
The wrong state was picked in the past, PHPStan found this in an unrelated other issue.
  • Loading branch information
vmcj committed Aug 25, 2024
1 parent 557a513 commit bdd6ea3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function testBalloonScoreboard(array $fixtures, bool $public, string $con
$elements = ["3 tries",'Demo contest','Utrecht University'];
} elseif (in_array($contestStage, ['preEnd','preUnfreeze'])) {
$elements = ["0 + 4 tries","3 tries","2 + 1 tries",'Demo contest','Utrecht University'];
if ($contestStage === 'preFreeze') {
if ($contestStage === 'preUnfreeze') {
$elements[] = 'contest over, waiting for results';
}
} else {
Expand Down

0 comments on commit bdd6ea3

Please sign in to comment.