Add meta when sending stats notifications

[MAILPOET-2333]
This commit is contained in:
Amine Ben hammou
2019-09-13 02:32:59 +01:00
committed by Jack Kitterhing
parent 723cb368c4
commit d40747e0ac
7 changed files with 46 additions and 6 deletions

View File

@ -4,6 +4,7 @@ namespace MailPoet\Cron\Workers\StatsNotifications;
use MailPoet\Config\Renderer;
use MailPoet\Mailer\Mailer;
use MailPoet\Mailer\MetaInfo;
use MailPoet\Models\Newsletter;
use MailPoet\Models\ScheduledTask;
use MailPoet\Settings\SettingsController;
@ -43,6 +44,7 @@ class AutomatedEmailsTest extends \MailPoetTest {
$this->renderer,
$this->settings,
$this->makeEmpty(WCHelper::class),
new MetaInfo,
])
->setMethods(['getNewsletters'])
->getMock();