Replace expect()->isEmpty() with verify()->empty()
codeception/verify 2.1 removed support for expect()->isEmpty() so we need to replace it with verify()->empty(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
1865fc8930
commit
e4136fee8c
@@ -155,7 +155,7 @@ class SubscriberSegmentTest extends \MailPoetTest {
|
||||
verify($result)->true();
|
||||
|
||||
$subscribedSegments = $this->subscriber->segments()->findArray();
|
||||
expect($subscribedSegments)->isEmpty();
|
||||
verify($subscribedSegments)->empty();
|
||||
|
||||
// the relations still exist but now have a status of "unsubscribed"
|
||||
$subscriptionsCount = SubscriberSegment::where(
|
||||
|
Reference in New Issue
Block a user