Replace expect()->true() with verify()->true()

codeception/verify 2.1 removed support for expect()->true() so we need
to replace it with verify()->true().

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 15:29:04 -03:00
committed by David Remer
parent 35c24fb324
commit 9adbf81a78
86 changed files with 311 additions and 311 deletions

View File

@@ -28,13 +28,13 @@ class KeyCheckWorkerTest extends \MailPoetTest {
public function testItCanInitializeBridgeAPI() {
$this->worker->init();
expect($this->worker->bridge instanceof Bridge)->true();
verify($this->worker->bridge instanceof Bridge)->true();
}
public function testItReturnsTrueOnSuccessfulKeyCheck() {
$task = $this->createRunningTask();
$result = $this->worker->processTaskStrategy($task, microtime(true));
expect($result)->true();
verify($result)->true();
}
public function testItReschedulesCheckOnException() {