Remove phpstan errors from integration Cron tests

[MAILPOET-3235]
This commit is contained in:
Jan Lysý
2021-01-13 17:33:06 +01:00
committed by Veljko V
parent bcb62403a1
commit c9004553c3
11 changed files with 68 additions and 5 deletions

View File

@ -41,6 +41,7 @@ class InactiveSubscribersTest extends \MailPoetTest {
->where('status', ScheduledTask::STATUS_SCHEDULED)
->findOne();
assert($task instanceof ScheduledTask);
expect($task)->isInstanceOf(ScheduledTask::class);
expect($task->scheduledAt)->greaterThan(new Carbon());
}
@ -73,6 +74,7 @@ class InactiveSubscribersTest extends \MailPoetTest {
->where('status', ScheduledTask::STATUS_SCHEDULED)
->findOne();
assert($task instanceof ScheduledTask);
expect($task)->isInstanceOf(ScheduledTask::class);
expect($task->scheduledAt)->greaterThan(new Carbon());
}