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:
Rodrigo Primo
2023-10-18 16:02:10 -03:00
committed by David Remer
parent 5d839277d6
commit 00c5250cff
21 changed files with 68 additions and 68 deletions

View File

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