Replace expect()->null() with verify()->null()

codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 15:38:01 -03:00
committed by David Remer
parent 997f635d4a
commit 709be1d541
74 changed files with 268 additions and 268 deletions

View File

@ -90,7 +90,7 @@ class CustomFieldsTest extends \MailPoetTest {
verify($response->status)->equals(APIResponse::STATUS_OK);
$customField = $this->repository->findOneBy(['type' => 'date']);
expect($customField)->null();
verify($customField)->null();
$response = $this->endpoint->delete(['id' => $customFieldId]);
verify($response->status)->equals(APIResponse::STATUS_NOT_FOUND);