Fix constructor initialization
[MAILPOET-2219]
This commit is contained in:
@@ -29,7 +29,8 @@ class MailerTest extends \MailPoetTest {
|
||||
wp_set_current_user($wp_users[0]->ID);
|
||||
$this->settings = new SettingsController();
|
||||
$referral_detector = new ReferralDetector(WPFunctions::get(), $this->settings);
|
||||
$populator = new Populator($this->settings, WPFunctions::get(), new Captcha, $referral_detector, new FeaturesController());
|
||||
$features_controller = Stub::makeEmpty(FeaturesController::class);
|
||||
$populator = new Populator($this->settings, WPFunctions::get(), new Captcha, $referral_detector, $features_controller);
|
||||
$populator->up();
|
||||
$this->mailer_task = new MailerTask();
|
||||
$this->sender = $this->settings->get('sender');
|
||||
|
Reference in New Issue
Block a user