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
committerVincent Petry <vincent@nextcloud.com>2021-03-24 12:26:06 +0300
commit39a6d99526d3d0a4a632bb963cb10541826eec0b (patch)
tree3bc5599fbb0bc2f8ab438beefbf28108ac90b7eb /tests
parent8b92776be48313fd9d949c57b9ddb7c8beea39c0 (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();