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:
committed by
David Remer
parent
9b56fdc688
commit
525495409c
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user