aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-02-01 19:20:26 +0100
committerGitHub <noreply@github.com>2024-02-01 19:20:26 +0100
commit257ea23245524f6751eb1131ca898e2ebbd47416 (patch)
treeeafb5196b60c26b4fb5c241bc167323fc427956a /tests
parente49c331b7156e8a39052566f1da0f65b76f3c974 (diff)
parentf1af8ea48d67fbaa1cc7ccdab02354bb9f9b7b80 (diff)
downloadnextcloud-server-257ea23245524f6751eb1131ca898e2ebbd47416.tar.gz
nextcloud-server-257ea23245524f6751eb1131ca898e2ebbd47416.zip
Merge pull request #43133 from nextcloud/backport/43099/stable28
[stable28] fix(tests): Make PostgreSQL unit tests less flacky by ordering
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/DB/QueryBuilder/QueryBuilderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php
index 6e9a7a84925..f92b7665532 100644
--- a/tests/lib/DB/QueryBuilder/QueryBuilderTest.php
+++ b/tests/lib/DB/QueryBuilder/QueryBuilderTest.php
@@ -326,7 +326,7 @@ class QueryBuilderTest extends \Test\TestCase {
'appid',
$this->queryBuilder->expr()->literal('testFirstResult1')
))
- ->orderBy('appid', 'DESC');
+ ->orderBy('configkey', 'ASC');
$query = $this->queryBuilder->execute();
$rows = $query->fetchAll();