[ticket/13146] Last missing phpbb_mock_event_dispatcher()

Thank you nickvergessen

PHPBB3-13146
This commit is contained in:
brunoais 2015-01-10 08:11:51 +00:00
parent 346f654b2e
commit da9ac2da72

View file

@ -309,10 +309,7 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case
)));
$user = new \phpbb\user('\phpbb\datetime');
$phpbb_dispatcher = $this->getMockBuilder('\phpbb\event\dispatcher')
->disableOriginalConstructor()
->getMock();
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->set('notification_manager', new phpbb_mock_notification_manager());