diff --git a/tests/Doctrine/Tests/ORM/Functional/PaginationTest.php b/tests/Doctrine/Tests/ORM/Functional/PaginationTest.php index 36d3445e46a..e5c310cbfd2 100644 --- a/tests/Doctrine/Tests/ORM/Functional/PaginationTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/PaginationTest.php @@ -211,22 +211,6 @@ public function testIterateWithFetchJoin($useOutputWalkers) $paginator = new Paginator($query, true); $paginator->setUseOutputWalkers($useOutputWalkers); $this->assertCount(9, $paginator->getIterator()); - - $query->setMaxResults(3); - $paginator = new Paginator($query, true); - $paginator->setUseOutputWalkers($useOutputWalkers); - $iter = $paginator->getIterator(); - $this->assertCount(3, $iter); - $result = iterator_to_array($iter); - $this->assertEquals('username0', $result[0]->username); - - $query->setFirstResult(3); - $paginator = new Paginator($query, true); - $paginator->setUseOutputWalkers($useOutputWalkers); - $iter = $paginator->getIterator(); - $this->assertCount(3, $iter); - $result = iterator_to_array($iter); - $this->assertEquals('username3', $result[0]->username); } /**