Skip to content

Commit

Permalink
Set a limit until doctrine released a version that fixes Sqlite
Browse files Browse the repository at this point in the history
See doctrine/dbal#782 for more info
  • Loading branch information
nickvergessen committed Jul 20, 2015
1 parent 98158cb commit 9cdc1c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lib/db/querybuilder/querybuildertest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9cdc1c6

Please sign in to comment.