Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
This commit is contained in:
committed by
Jack Kitterhing
parent
aa05ae4132
commit
835d8bc0af
@ -120,7 +120,8 @@ class InactiveSubscribersTest extends \MailPoetTest {
|
||||
], $this);
|
||||
|
||||
$worker = new InactiveSubscribers($controllerMock, $this->settings);
|
||||
$this->setExpectedException(\Exception::class, 'Maximum execution time has been reached.');
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessage('Maximum execution time has been reached.');
|
||||
$worker->processTaskStrategy(ScheduledTask::createOrUpdate([]), microtime(true) - $this->cronHelper->getDaemonExecutionLimit());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user