Skip to content

Commit

Permalink
Merge pull request #43099 from nextcloud/bugfix/noid/make-postgres-un…
Browse files Browse the repository at this point in the history
…it-test-less-flacky

fix(tests): Make PostgreSQL unit tests less flacky by ordering
  • Loading branch information
nickvergessen authored Jan 25, 2024
2 parents 1a2b08a + b04f6d5 commit 2357bcb
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 2357bcb

Please sign in to comment.