Fix fatal error with confirmation email sending thru MP API

[MAILPOET-1801]
This commit is contained in:
Rostislav Wolny
2019-02-11 11:37:42 +01:00
committed by M. Shull
parent 65df4327dd
commit 90d369a721
2 changed files with 5 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class ConfirmationEmailMailerTest extends \MailPoetTest {
}),
], $this);
$sender = new ConfirmationEmailMailer($mailer);
$sender = new ConfirmationEmailMailer($mailer, new WPFunctions);
$segment = Segment::createOrUpdate(