Replace expect()->notEquals() with verify()->notEquals()
codeception/verify 2.1 removed support for expect()->notEquals() so we need to replace it with verify()->notEquals(). [MAILPOET-5664]
This commit is contained in:
committed by
David Remer
parent
5d839277d6
commit
00c5250cff
@@ -236,7 +236,7 @@ class PagesTest extends \MailPoetTest {
|
||||
|
||||
$updatedSubscriber = $this->subscribersRepository->findOneById($this->subscriber->getId());
|
||||
$this->assertInstanceOf(SubscriberEntity::class, $updatedSubscriber);
|
||||
expect($updatedSubscriber->getStatus())->notEquals(SubscriberEntity::STATUS_UNSUBSCRIBED);
|
||||
verify($updatedSubscriber->getStatus())->notEquals(SubscriberEntity::STATUS_UNSUBSCRIBED);
|
||||
}
|
||||
|
||||
public function testItUnsubscribesAndTracksCorrectMethod() {
|
||||
|
Reference in New Issue
Block a user