Fix integration tests to work with updated codeception/verify

[MAILPOET-3203]
This commit is contained in:
Rostislav Wolny
2020-10-08 13:02:47 +02:00
committed by Veljko V
parent e85b4c6fec
commit 54727ad9a2
52 changed files with 266 additions and 265 deletions

View File

@ -73,8 +73,8 @@ class NewSubscriberNotificationMailerTest extends \MailPoetTest {
expect($newsletter['body'])->hasKey('html');
expect($newsletter['body'])->hasKey('text');
expect($newsletter['body'])->count(2);
expect($newsletter['body']['text'])->contains('subscriber@example.com');
expect($newsletter['body']['html'])->contains('subscriber@example.com');
expect($newsletter['body']['text'])->stringContainsString('subscriber@example.com');
expect($newsletter['body']['html'])->stringContainsString('subscriber@example.com');
expect($extraParams['meta'])->equals([
'email_type' => 'new_subscriber_notification',
'subscriber_status' => 'unknown',