Inject dependencies to hooks directly
[MAILPOET-1689]
This commit is contained in:
@ -697,7 +697,7 @@ class SchedulerTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
function testUnsearchablePostTypeDoesNotSchedulePostNotification() {
|
||||
$hook = new Hooks(ContainerWrapper::getInstance());
|
||||
$hook = ContainerWrapper::getInstance()->get(Hooks::class);
|
||||
|
||||
$newsletter = $this->_createNewsletter(Newsletter::TYPE_NOTIFICATION);
|
||||
|
||||
|
Reference in New Issue
Block a user