Replace expect()->notEmpty() with verify()->notEmpty()
codeception/verify 2.1 removed support for expect()->notEmpty() so we need to replace it with verify()->notEmpty(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
00c5250cff
commit
5bc5b5ebd2
@@ -79,7 +79,7 @@ class SettingsTest extends \MailPoetTest {
|
||||
$response = $this->endpoint->get();
|
||||
verify($response->status)->equals(APIResponse::STATUS_OK);
|
||||
|
||||
expect($response->data)->notEmpty();
|
||||
verify($response->data)->notEmpty();
|
||||
verify($response->data['some']['setting']['key'])->true();
|
||||
|
||||
$this->diContainer->get(SettingsRepository::class)->truncate();
|
||||
|
Reference in New Issue
Block a user