Replace expect()->greaterThan() with verify()->greaterThan()
codeception/verify 2.1 removed support for expect()->greaterThan() so we need to replace it with verify()->greaterThan(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
b5b4106da4
commit
fa9236d8c9
@@ -50,7 +50,7 @@ class SendingServiceKeyCheckTest extends \MailPoetTest {
|
||||
]);
|
||||
|
||||
$nextRunDate = $this->worker->getNextRunDate();
|
||||
expect($nextRunDate)->greaterThan(Carbon::now()->addMinutes(55));
|
||||
verify($nextRunDate)->greaterThan(Carbon::now()->addMinutes(55));
|
||||
expect($nextRunDate)->lessThan(Carbon::now()->addMinutes(65));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user