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
@ -103,7 +103,7 @@ class FeatureFlagsTest extends \MailPoetTest {
|
||||
]);
|
||||
|
||||
$endpoint = $this->createEndpointWithFeatureDefaults([]);
|
||||
expect($endpoint->getAll()->data)->isEmpty();
|
||||
verify($endpoint->getAll()->data)->empty();
|
||||
}
|
||||
|
||||
public function testItDoesNotSaveUnknownFlag() {
|
||||
|
Reference in New Issue
Block a user