Skip to content

Commit

Permalink
Unbreak App\Tests\Unit\Service\ConfigurationServiceTest::testAddOptio…
Browse files Browse the repository at this point in the history
…nsResults

Loosely based on: b03e8ac
  • Loading branch information
vmcj committed Dec 6, 2024
1 parent 320372a commit f02f40a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/tests/Unit/Service/ConfigurationServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ public function provideAddOptionsExecutables(): Generator
public function testAddOptionsResults(string $item): void
{
$verdictOptions = ['' => ''];
$verdictsConfig = self::getContainer()->getParameter('domjudge.etcdir') . '/verdicts.php';
$verdicts = include $verdictsConfig;
$verdicts = $this->config->getVerdicts(['final']);
foreach (array_keys($verdicts) as $verdict) {
$verdictOptions[$verdict] = $verdict;
}
Expand Down

0 comments on commit f02f40a

Please sign in to comment.