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
parent 9f63e667c4
commit b04f6d57b4
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

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