From f1af8ea48d67fbaa1cc7ccdab02354bb9f9b7b80 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 25 Jan 2024 06:44:11 +0100 Subject: [PATCH] fix(tests): Make PostgreSQL unit tests less flacky by ordering Signed-off-by: Joas Schilling --- tests/lib/DB/QueryBuilder/QueryBuilderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php index 6e9a7a849253a..f92b766553244 100644 --- a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php +++ b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php @@ -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();