Replace expect()->startsWith() with verify()->stringStartsWith()
codeception/verify 2.1 removed support for expect()->startsWith() so we need to replace it with verify()->stringStartsWith(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
a1f57361c5
commit
4bc4e9b254
@@ -90,7 +90,7 @@ class DynamicSegmentsResponseBuilderTest extends \MailPoetTest {
|
||||
verify($response[0]['name'])->equals($name);
|
||||
verify($response[0]['description'])->equals($description);
|
||||
verify($response[0]['type'])->equals(SegmentEntity::TYPE_DYNAMIC);
|
||||
expect($response[0]['subscribers_url'])->startsWith('http');
|
||||
verify($response[0]['subscribers_url'])->stringStartsWith('http');
|
||||
verify($response[0]['count_all'])->equals(1);
|
||||
verify($response[0]['count_subscribed'])->equals(1);
|
||||
|
||||
|
Reference in New Issue
Block a user