Skip to content

Commit

Permalink
fix(tests): Make PostgreSQL unit tests less flacky by ordering
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jan 25, 2024
1 parent 9f63e66 commit b04f6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/DB/QueryBuilder/QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function testSelectDistinctMultiple() {
'appid',
$this->queryBuilder->expr()->literal('testFirstResult1')
))
->orderBy('appid', 'DESC');
->orderBy('configkey', 'ASC');

$query = $this->queryBuilder->execute();
$rows = $query->fetchAll();
Expand Down

0 comments on commit b04f6d5

Please sign in to comment.