Set a limit until doctrine released a version that fixes Sqlite

See https://github.com/doctrine/dbal/pull/782 for more info
This commit is contained in:
Joas Schilling 2015-07-16 10:39:11 +02:00
parent 32cb30cb84
commit 22849238fb
1 changed files with 4 additions and 0 deletions

View File

@ -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(