mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
commit
306ad52a28
@ -22,6 +22,8 @@ matrix:
|
||||
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1 RECIPE_VERSION="^4"
|
||||
- php: 7.3
|
||||
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 RECIPE_VERSION="4.x-dev"
|
||||
- php: 7.4
|
||||
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 RECIPE_VERSION="4.x-dev"
|
||||
|
||||
before_script:
|
||||
- phpenv rehash
|
||||
|
@ -205,9 +205,9 @@ class GridFieldConfigurablePaginatorTest extends SapphireTest
|
||||
)
|
||||
);
|
||||
|
||||
$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);
|
||||
|
Loading…
Reference in New Issue
Block a user