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:
committed by
David Remer
parent
997f635d4a
commit
709be1d541
@@ -61,6 +61,6 @@ class NewsletterLinkRepositoryTest extends \MailPoetTest {
|
||||
$this->entityManager->flush();
|
||||
|
||||
$nonExistingTopLink = $repository->findTopLinkForNewsletter((int)$newsletter2->getId());
|
||||
expect($nonExistingTopLink)->null();
|
||||
verify($nonExistingTopLink)->null();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user