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
@@ -45,7 +45,7 @@ class GATrackingTest extends \MailPoetTest {
|
||||
|
||||
// Process (filled GA campaign)
|
||||
$result = $this->tracking->applyGATracking($this->renderedNewsletter, $this->newsletter, $this->internalHost);
|
||||
expect($result)->notEquals($this->renderedNewsletter);
|
||||
verify($result)->notEquals($this->renderedNewsletter);
|
||||
}
|
||||
|
||||
public function testItGetsGACampaignFromParentNewsletterForPostNotifications() {
|
||||
@@ -55,7 +55,7 @@ class GATrackingTest extends \MailPoetTest {
|
||||
->create();
|
||||
|
||||
$result = $this->tracking->applyGATracking($this->renderedNewsletter, $notificationHistory, $this->internalHost);
|
||||
expect($result)->notEquals($this->renderedNewsletter);
|
||||
verify($result)->notEquals($this->renderedNewsletter);
|
||||
}
|
||||
|
||||
public function testItCanAddGAParamsToLinks() {
|
||||
|
Reference in New Issue
Block a user