Move Mailer error tests to unit [MAILPOET-2009]

This commit is contained in:
wxa
2019-04-25 11:10:29 +03:00
committed by M. Shull
parent f2e0dc7d2f
commit 994fae79d2
14 changed files with 59 additions and 24 deletions

View File

@@ -8,8 +8,6 @@ use MailPoet\Mailer\Methods\ErrorMappers\SendGridMapper;
use MailPoet\Mailer\Methods\ErrorMappers\SMTPMapper;
use MailPoet\Settings\SettingsController;
if (!defined('ABSPATH')) exit;
class Mailer {
public $mailer_config;
public $sender;
@@ -154,7 +152,7 @@ class Mailer {
$return_path :
$this->settings->get('bounce.address');
}
/**
* @param \MailPoet\Models\Subscriber|array $subscriber
*/