Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Sep 2, 2024
1 parent c3a646b commit 9bd6573
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/AutoReview/MakefileE2ETest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use function array_values;
use function current;
use function Safe\file_get_contents;
use function sort;
use function str_starts_with;

/**
Expand Down Expand Up @@ -93,7 +94,10 @@ private static function retrieveE2ERule(): array
$e2eRule = current($e2eRules);
self::assertNotFalse($e2eRule, 'Expected to find the e2e rule in the Makefile.');

return array_values($e2eRule->getPrerequisites());
$finalE2eRules = $e2eRule->getPrerequisites();
sort($finalE2eRules);

return $finalE2eRules;
}

/**
Expand Down

0 comments on commit 9bd6573

Please sign in to comment.