Replace expect()->contains() with verify()->arrayContains()
codeception/verify 2.1 removed support for expect()->contains() so we need to replace it with verify()->arrayContains(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
fa9236d8c9
commit
e4f0b89032
@ -401,7 +401,7 @@ class SubscribersTest extends \MailPoetTest {
|
||||
'segment' => $dynamicSegment->getId(),
|
||||
],
|
||||
]);
|
||||
expect($response->meta['filters']['segment'])->contains(['label' => 'Dynamic (1)', 'value' => $dynamicSegment->getId()]);
|
||||
verify($response->meta['filters']['segment'])->arrayContains(['label' => 'Dynamic (1)', 'value' => $dynamicSegment->getId()]);
|
||||
$this->tester->deleteWordPressUser($wpUserEmail);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user