Skip to content

Commit

Permalink
Updates unit test for DbSelect adapter
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Brückner <[email protected]>
  • Loading branch information
froschdesign committed Jun 22, 2020
1 parent b827b2c commit 8f228df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/PaginatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8f228df

Please sign in to comment.