diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-16 10:39:11 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-21 15:25:48 +0200 |
commit | 22849238fb38b932b4336202284c8b58180e0f18 (patch) | |
tree | 4177aeeb76386b00830928df5301887f92c3b0c0 /tests/lib/db/querybuilder/querybuildertest.php | |
parent | 32cb30cb8400032d334873a3205e68bea7f909f5 (diff) | |
download | nextcloud-server-22849238fb38b932b4336202284c8b58180e0f18.tar.gz nextcloud-server-22849238fb38b932b4336202284c8b58180e0f18.zip |
Set a limit until doctrine released a version that fixes Sqlite
See https://github.com/doctrine/dbal/pull/782 for more info
Diffstat (limited to 'tests/lib/db/querybuilder/querybuildertest.php')
-rw-r--r-- | tests/lib/db/querybuilder/querybuildertest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/db/querybuilder/querybuildertest.php b/tests/lib/db/querybuilder/querybuildertest.php index 8be0c5d17e7..03ed8801177 100644 --- a/tests/lib/db/querybuilder/querybuildertest.php +++ b/tests/lib/db/querybuilder/querybuildertest.php @@ -72,6 +72,10 @@ class QueryBuilderTest extends \Test\TestCase { 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( |