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
@@ -247,7 +247,7 @@ class SegmentsTest extends \MailPoetTest {
|
||||
$result = $this->getApi()->deleteList($segmentId);
|
||||
verify($result)->equals(true);
|
||||
$this->entityManager->clear();
|
||||
expect($this->segmentsRepository->findOneById($segmentId))->null();
|
||||
verify($this->segmentsRepository->findOneById($segmentId))->null();
|
||||
expect($this->subscriberSegmentsRepository->findBy(['segment' => $segmentId]))->count(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user