From 9cdc1c69dd8314dbadb09c164b4509d83152eeb5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 16 Jul 2015 10:39:11 +0200 Subject: [PATCH] Set a limit until doctrine released a version that fixes Sqlite See https://github.com/doctrine/dbal/pull/782 for more info --- tests/lib/db/querybuilder/querybuildertest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/lib/db/querybuilder/querybuildertest.php b/tests/lib/db/querybuilder/querybuildertest.php index 8be0c5d17e78..03ed8801177f 100644 --- a/tests/lib/db/querybuilder/querybuildertest.php +++ b/tests/lib/db/querybuilder/querybuildertest.php @@ -72,6 +72,10 @@ public function testFirstResult($firstResult, $expectedSet) { if ($firstResult !== null) { $this->queryBuilder->setFirstResult($firstResult); + + // FIXME Remove this once Doctrine/DBAL is >2.5.1: + // FIXME See https://github.com/doctrine/dbal/pull/782 + $this->queryBuilder->setMaxResults(100); } $this->assertSame(