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 16, 2015
1 parent 16a4057 commit affc1d4
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 affc1d4

Please sign in to comment.