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>
This commit is contained in:
Vincent Petry 2021-03-24 10:26:06 +01:00 committed by backportbot[bot]
parent 522c319385
commit 6fcb1ab834
1 changed files with 1 additions and 0 deletions

View File

@ -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();