fix(tests): Make PostgreSQL unit tests less flacky by ordering

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-01-25 06:44:11 +01:00 committed by Ferdinand Thiessen
parent 6bdee0564e
commit f1af8ea48d

View file

@ -326,7 +326,7 @@ class QueryBuilderTest extends \Test\TestCase {
'appid',
$this->queryBuilder->expr()->literal('testFirstResult1')
))
->orderBy('appid', 'DESC');
->orderBy('configkey', 'ASC');
$query = $this->queryBuilder->execute();
$rows = $query->fetchAll();