Skip to content

Commit

Permalink
Merge pull request #9519 from lcobucci/fix-pagination-test
Browse files Browse the repository at this point in the history
Trigger the desired code path
  • Loading branch information
greg0ire authored Feb 16, 2022
2 parents e8e61cb + 12ab6fa commit 152c04c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Doctrine/Tests/ORM/Functional/PaginationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ public function testCustomIdTypeWithoutOutputWalker(): void

$dql = 'SELECT p FROM Doctrine\Tests\Models\CustomType\CustomIdObjectTypeParent p';
$query = $this->_em->createQuery($dql);
$query->setMaxResults(1);

$paginator = new Paginator($query, true);
$paginator->setUseOutputWalkers(false);
Expand Down

0 comments on commit 152c04c

Please sign in to comment.