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:
Rodrigo Primo
2023-10-18 16:47:11 -03:00
committed by David Remer
parent b5b4106da4
commit fa9236d8c9
22 changed files with 40 additions and 40 deletions

View File

@@ -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));
}