Files
piratepoet/tests/integration/Config/HooksTest.php
Jan Jakeš 1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00

15 lines
368 B
PHP

<?php
namespace MailPoet\Test\Config;
use MailPoet\Config\Hooks;
use MailPoet\DI\ContainerWrapper;
class HooksTest extends \MailPoetTest {
function testItHooksSchedulerToMultiplePostTypes() {
$hooks = ContainerWrapper::getInstance()->get(Hooks::class);
$hooks->setupPostNotifications();
expect(has_filter('transition_post_status'))->notEmpty();
}
}