[BUGFIX] Fix functional tests for EXT:core on PostgreSQL
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / DataHandling / DataHandler / SpecialLanguagesTest.php
index f15c2b1..f087e7b 100644 (file)
@@ -46,7 +46,8 @@ class SpecialLanguagesTest extends AbstractDataHandlerActionTestCase
             ->getQueryBuilderForTable('be_groups')
             ->select('allowed_languages')
             ->from('be_groups')
-            ->where('uid=1')
+            ->orderBy('uid', 'DESC')
+            ->setMaxResults(1)
             ->execute();
         $this->assertEquals($expected, $statement->fetchColumn(0));
     }