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
@@ -28,7 +28,7 @@ class SendingServiceKeyCheckTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
public function testItRequiresMailPoetMethodToBeSetUp() {
|
||||
expect($this->worker->checkProcessingRequirements())->false();
|
||||
verify($this->worker->checkProcessingRequirements())->false();
|
||||
$this->setMailPoetSendingMethod();
|
||||
verify($this->worker->checkProcessingRequirements())->true();
|
||||
}
|
||||
@@ -76,7 +76,7 @@ class SendingServiceKeyCheckTest extends \MailPoetTest {
|
||||
|
||||
$this->setMailPoetSendingMethod();
|
||||
$worker->checkKey();
|
||||
expect(MailerLog::isSendingPaused())->false();
|
||||
verify(MailerLog::isSendingPaused())->false();
|
||||
}
|
||||
|
||||
public function testItChecksMSSKey() {
|
||||
|
Reference in New Issue
Block a user