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
parent 8b92776be4
commit 39a6d99526
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ class UpdateLanguageCodesTest extends TestCase {
->from('preferences') ->from('preferences')
->where($qb->expr()->eq('appid', $qb->createNamedParameter('core'))) ->where($qb->expr()->eq('appid', $qb->createNamedParameter('core')))
->andWhere($qb->expr()->eq('configkey', $qb->createNamedParameter('lang'))) ->andWhere($qb->expr()->eq('configkey', $qb->createNamedParameter('lang')))
->orderBy('userid')
->execute(); ->execute();
$rows = $result->fetchAll(); $rows = $result->fetchAll();