Skip to content

Commit

Permalink
Merge pull request #311 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 ca269d0 + cecca32 commit aa9e2be
Show file tree
Hide file tree
Showing 3 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 @@ -16,6 +16,8 @@ matrix:
env: DB=MYSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
- php: 7.4
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1

before_script:
- phpenv rehash
Expand Down
2 changes: 1 addition & 1 deletion tests/QueuedJobsAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function setUp()
Injector::inst()->registerService($request, HTTPRequest::class);
$this->admin->setRequest($request);

$mockQueue = $this->createMock(QueuedJobService::class);
$mockQueue = @$this->createMock(QueuedJobService::class);
$this->admin->jobQueue = $mockQueue;

$this->logInWithPermission('ADMIN');
Expand Down
2 changes: 1 addition & 1 deletion tests/QueuedJobsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function setUp()
// Allow large memory limit in cases of integration tests
Config::modify()->set(QueuedJobService::class, 'memory_limit', 2 * 1024 * 1024 * 1024);

Injector::inst()->registerService($this->createMock(LoggerInterface::class), LoggerInterface::class);
Injector::inst()->registerService(@$this->createMock(LoggerInterface::class), LoggerInterface::class);

Config::modify()->set(QueuedJobService::class, 'use_shutdown_function', false);

Expand Down

0 comments on commit aa9e2be

Please sign in to comment.