Replace mailinator with blackhole
Deliverability is not important in any of these tests, so it should be safer and more reliable to use blackhole@mailpoet.com instead of the old mailinator address, which was used before the blackhole@mailpoet.com address existed. [MAILPOET-4064]
This commit is contained in:
committed by
Veljko V
parent
6d22440936
commit
f46c3c2a76
@@ -60,7 +60,7 @@ class SMTPTest extends \MailPoetTest {
|
||||
$this->settings['login'],
|
||||
$this->settings['password']
|
||||
);
|
||||
$this->subscriber = 'Recipient <mailpoet-phoenix-test@mailinator.com>';
|
||||
$this->subscriber = 'Recipient <blackhole@mailpoet.com>';
|
||||
$this->newsletter = [
|
||||
'subject' => 'testing SMTP … © & ěščřžýáíéůėꀿąß∂ 😊👨👩👧👧', // try some special chars
|
||||
'body' => [
|
||||
@@ -107,7 +107,7 @@ class SMTPTest extends \MailPoetTest {
|
||||
$message = $this->mailer
|
||||
->createMessage($this->newsletter, $this->subscriber, $this->extraParams);
|
||||
expect($message->getTo())
|
||||
->equals(['mailpoet-phoenix-test@mailinator.com' => 'Recipient']);
|
||||
->equals(['blackhole@mailpoet.com' => 'Recipient']);
|
||||
expect($message->getFrom())
|
||||
->equals([$this->sender['from_email'] => $this->sender['from_name']]);
|
||||
expect($message->getSender())
|
||||
|
Reference in New Issue
Block a user