Skip to content

Commit

Permalink
Merge pull request symbiote#310 from symbiote/nglasl-patch-1
Browse files Browse the repository at this point in the history
PHP 7.4
  • Loading branch information
Nathan authored Jun 10, 2020
2 parents 5024b93 + 3aaf447 commit 306ad52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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 306ad52

Please sign in to comment.