From 349aaab6acd1188298cc06e12d389e90871aafd9 Mon Sep 17 00:00:00 2001 From: brunoais Date: Sat, 10 Jan 2015 08:32:22 +0000 Subject: [ticket/13146] Even more missing phpbb_mock_event_dispatcher() PHPBB3-13146 --- tests/notification/submit_post_base.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/notification') diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php index 684dd99280..6ab4492de0 100644 --- a/tests/notification/submit_post_base.php +++ b/tests/notification/submit_post_base.php @@ -100,7 +100,8 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c // Container $phpbb_container = new phpbb_mock_container_builder(); - $phpbb_container->set('content.visibility', new \phpbb\content_visibility($auth, $config, $db, $user, $phpbb_root_path, $phpEx, FORUMS_TABLE, POSTS_TABLE, TOPICS_TABLE, USERS_TABLE)); + $phpbb_dispatcher = new phpbb_mock_event_dispatcher(); + $phpbb_container->set('content.visibility', new \phpbb\content_visibility($auth, $config, $phpbb_dispatcher, $db, $user, $phpbb_root_path, $phpEx, FORUMS_TABLE, POSTS_TABLE, TOPICS_TABLE, USERS_TABLE)); $user_loader = new \phpbb\user_loader($db, $phpbb_root_path, $phpEx, USERS_TABLE); -- cgit v1.2.1