Replace expect()->count() with verify()->arrayCount()
codeception/verify 2.1 removed support for expect()->count() so we need to replace it with verify()->arrayCount(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
e4136fee8c
commit
9b56fdc688
@@ -48,7 +48,7 @@ class FormsResponseBuilderTest extends \MailPoetTest {
|
||||
|
||||
$response = $this->responseBuilder->buildForListing([$form1, $form2]);
|
||||
|
||||
expect($response)->count(2);
|
||||
verify($response)->arrayCount(2);
|
||||
verify($response[0]['signups'])->equals(0);
|
||||
verify($response[0]['segments'])->equals($this->formSettings['segments']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user