diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-24 10:26:06 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-24 10:26:06 +0100 |
commit | 39a6d99526d3d0a4a632bb963cb10541826eec0b (patch) | |
tree | 3bc5599fbb0bc2f8ab438beefbf28108ac90b7eb /tests | |
parent | 8b92776be48313fd9d949c57b9ddb7c8beea39c0 (diff) | |
download | nextcloud-server-39a6d99526d3d0a4a632bb963cb10541826eec0b.tar.gz nextcloud-server-39a6d99526d3d0a4a632bb963cb10541826eec0b.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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test/Repair/Owncloud/UpdateLanguageCodesTest.php | 1 |
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(); |