[ticket/13154] Adjusting phpBB tests for the dispatcher

PHPBB3-13154
This commit is contained in:
brunoais 2014-12-17 23:11:14 +00:00
parent 458f9cade6
commit 8098d313e6

View file

@ -67,6 +67,8 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$phpEx $phpEx
); );
$phpbb_dispatcher = $this->phpbb_dispatcher = new phpbb_mock_event_dispatcher();
$phpbb_container = $this->container = new phpbb_mock_container_builder(); $phpbb_container = $this->container = new phpbb_mock_container_builder();
$this->notifications = new phpbb_notification_manager_helper( $this->notifications = new phpbb_notification_manager_helper(
@ -75,6 +77,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
$this->container, $this->container,
$this->user_loader, $this->user_loader,
$this->config, $this->config,
$this->phpbb_dispatcher,
$this->db, $this->db,
$this->cache, $this->cache,
$this->user, $this->user,