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:
Rodrigo Primo
2023-10-18 15:30:49 -03:00
committed by David Remer
parent 9adbf81a78
commit 997f635d4a
73 changed files with 226 additions and 226 deletions

View File

@@ -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() {