From a96d4b3f929a5cfc244e263bb52e8f753ce57301 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Fri, 17 Apr 2020 12:49:17 +0100 Subject: [PATCH] Issue #3119924 by sinn: SelectPagerDefaultTest should not rely on default sorting order --- .../tests/src/Functional/Database/SelectPagerDefaultTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php b/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php index a38a5f0180f3..2ba40a043a1a 100644 --- a/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php +++ b/core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php @@ -102,6 +102,7 @@ public function testInnerPagerQuery() { $outer_query = $connection->select($query); $outer_query->addField('subquery', 'age'); + $outer_query->orderBy('age'); $ages = $outer_query ->execute() -- GitLab