Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-24 12:26:06 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-24 15:38:47 +0300
commit6fcb1ab834b7c9f8381a2e8b1026d544cf95ff25 (patch)
treed13e0dcda806d7e4ffa2bb1d27e1e3283447e27e /tests
parent522c3193852a2301a07a7bafc33d9ddf2837bea1 (diff)
Fix language codes test result order
Fixes issue with Oracle by enforcing the order of the results to check. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php b/tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php
index fbf59fec81c..3b0b2f57f5f 100644
--- a/tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php
+++ b/tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php
@@ -86,6 +86,7 @@ class UpdateLanguageCodesTest extends TestCase {
->from('preferences')
->where($qb->expr()->eq('appid', $qb->createNamedParameter('core')))
->andWhere($qb->expr()->eq('configkey', $qb->createNamedParameter('lang')))
+ ->orderBy('userid')
->execute();
$rows = $result->fetchAll();