Refactor subscription form processing
[MAILPOET-1689]
This commit is contained in:
@@ -4,6 +4,7 @@ namespace MailPoet\Test\Newsletter\Scheduler;
|
||||
use Carbon\Carbon;
|
||||
use Codeception\Util\Fixtures;
|
||||
use Mailpoet\Config\Hooks;
|
||||
use MailPoet\DI\ContainerWrapper;
|
||||
use MailPoet\Models\Newsletter;
|
||||
use MailPoet\Models\NewsletterOption;
|
||||
use MailPoet\Models\NewsletterOptionField;
|
||||
@@ -696,7 +697,7 @@ class SchedulerTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
function testUnsearchablePostTypeDoesNotSchedulePostNotification() {
|
||||
$hook = new Hooks;
|
||||
$hook = new Hooks(ContainerWrapper::getInstance());
|
||||
|
||||
$newsletter = $this->_createNewsletter(Newsletter::TYPE_NOTIFICATION);
|
||||
|
||||
|
Reference in New Issue
Block a user