Replace expect()->null() with verify()->null()
codeception/verify 2.1 removed support for expect()->null() so we need to replace it with verify()->null(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
997f635d4a
commit
709be1d541
@@ -30,7 +30,7 @@ class MailerTest extends \MailPoetTest {
|
||||
$response = $mailerEndpoint->resumeSending();
|
||||
verify($response->status)->equals(APIResponse::STATUS_OK);
|
||||
$mailerLog = MailerLog::getMailerLog();
|
||||
expect($mailerLog['status'])->null();
|
||||
verify($mailerLog['status'])->null();
|
||||
}
|
||||
|
||||
public function testItRunsAuhtorizedEmailsCheckIfErrorIsPresent() {
|
||||
|
Reference in New Issue
Block a user