aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-24 10:26:06 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-24 12:38:52 +0000
commit447ccc1e553c84cc678b34f4c279788cab6bb2ea (patch)
tree6b2f96bbe97dc4e807da12db2e6332ec3cbf0039
parentbad324394434ec9ff3bee1d318d6efcf5dc6a554 (diff)
downloadnextcloud-server-447ccc1e553c84cc678b34f4c279788cab6bb2ea.tar.gz
nextcloud-server-447ccc1e553c84cc678b34f4c279788cab6bb2ea.zip
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>
-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();