diff --git a/mailpoet/tests/DataFactories/Settings.php b/mailpoet/tests/DataFactories/Settings.php index ce857edcf9..dda8ba6e17 100644 --- a/mailpoet/tests/DataFactories/Settings.php +++ b/mailpoet/tests/DataFactories/Settings.php @@ -126,7 +126,7 @@ class Settings { return $this; } - public function withMisconfiguredSendingMethodSmtpMailhog() { + public function withMisconfiguredSendingMethodSmtp() { $this->withSendingMethodSmtpMailhog(); $this->settings->set('mta.host', 'unknown_server'); } diff --git a/mailpoet/tests/acceptance/Settings/TransactionalEmailsCest.php b/mailpoet/tests/acceptance/Settings/TransactionalEmailsCest.php index 3c3ab0f08c..ab2c3c8516 100644 --- a/mailpoet/tests/acceptance/Settings/TransactionalEmailsCest.php +++ b/mailpoet/tests/acceptance/Settings/TransactionalEmailsCest.php @@ -10,7 +10,7 @@ class TransactionalEmailsCest { $i->wantTo('Check that transactional email are sent even when MailPoet sending doesn‘t send'); $settings = new Settings(); $i->wantTo('Setup MailPoet to send transactional emails but having misconfigured SMTP settings.'); - $settings->withMisconfiguredSendingMethodSmtpMailhog(); + $settings->withMisconfiguredSendingMethodSmtp(); $settings->withTransactionEmailsViaMailPoet(); $i->wantTo('Create a new WP user and make sure transactional email were received'); $i->cli(['user', 'create', 'john_doe', 'john_doe@example.com', '--send-email']);