From 8f228dfa37de26edd1c6969e403ead1cfa905bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Mon, 22 Jun 2020 08:58:42 +0200 Subject: [PATCH] Updates unit test for DbSelect adapter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- test/PaginatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/PaginatorTest.php b/test/PaginatorTest.php index a1bae952..89a568c5 100644 --- a/test/PaginatorTest.php +++ b/test/PaginatorTest.php @@ -500,7 +500,7 @@ public function testGetsItemsByPageHandleDbSelectAdapter() ->will($this->returnValue($mockStatement)); $mockSelect = $this->createMock('Laminas\Db\Sql\Select'); - $dbSelect = new DbSelect($mockSelect, $mockSql); + $dbSelect = new DbSelect($mockSelect, $mockSql, null, $mockSelect); $this->assertInstanceOf('ArrayIterator', $resultSet->getDataSource()); $paginator = new Paginator\Paginator($dbSelect);