Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Glasl committed Jun 10, 2020
1 parent beefca7 commit 3019abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/GridFieldConfigurablePaginatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ public function testGetPagerActions()
)
);

$gridField = $this->getMockBuilder(GridField::class)->disableOriginalConstructor()->getMock();
$paginator = new GridFieldConfigurablePaginator;
$result = $paginator->getPagerActions($controls, $gridField);
$paginator->setGridField($this->gridField);
$result = $paginator->getPagerActions($controls, $this->gridField);

$this->assertCount(2, $result);
$this->assertArrayHasKey('next', $result);
Expand Down

0 comments on commit 3019abc

Please sign in to comment.