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:
committed by
David Remer
parent
35c24fb324
commit
9adbf81a78
@@ -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() {
|
||||
|
Reference in New Issue
Block a user