diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-24 12:26:06 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-03-24 15:38:47 +0300 |
commit | 6fcb1ab834b7c9f8381a2e8b1026d544cf95ff25 (patch) | |
tree | d13e0dcda806d7e4ffa2bb1d27e1e3283447e27e /tests | |
parent | 522c3193852a2301a07a7bafc33d9ddf2837bea1 (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.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(); |