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

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

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 16:27:31 -03:00
committed by David Remer
parent 9b56fdc688
commit 525495409c
28 changed files with 99 additions and 99 deletions

View File

@@ -344,7 +344,7 @@ class SubscribersTest extends \MailPoetTest {
verify($response->data['id'])->equals($subscriber->getId());
verify($response->data['email'])->equals($subscriber->getEmail());
verify($response->data['status'])->equals($subscriber->getStatus());
expect($response->data['deleted_at'])->notNull();
verify($response->data['deleted_at'])->notNull();
verify($response->meta['count'])->equals(1);
}