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:
parent
bad3243944
commit
447ccc1e55
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue