Replace expect()->false() with verify()->false()
codeception/verify 2.1 removed support for expect()->false() so we need to replace it with verify()->false(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
9adbf81a78
commit
997f635d4a
@@ -161,7 +161,7 @@ class SettingsTest extends \MailPoetTest {
|
||||
$response = $this->endpoint->setAuthorizedFromAddress(['address' => 'authorized@email.com']);
|
||||
expect($response->status)->same(200);
|
||||
expect($this->settings->get('sender.address'))->same('authorized@email.com');
|
||||
expect(MailerLog::isSendingPaused())->false();
|
||||
verify(MailerLog::isSendingPaused())->false();
|
||||
}
|
||||
|
||||
public function testItSaveUnauthorizedAddressAndReturnsMeta() {
|
||||
|
Reference in New Issue
Block a user