aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-10 12:30:06 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-10 12:30:06 +0100
commit56eae4660c59302f36343a15752ecf30576f3589 (patch)
tree6961ce9096705ef1f9d904b8d0b5513af7ecf1d9 /tests/notification
parent6b328912ce3b60d8c7500c7bad6edcf4c8478e9a (diff)
parentbf59d8dd746578dac4f239cbbce5885acfadaefd (diff)
downloadforums-56eae4660c59302f36343a15752ecf30576f3589.tar
forums-56eae4660c59302f36343a15752ecf30576f3589.tar.gz
forums-56eae4660c59302f36343a15752ecf30576f3589.tar.bz2
forums-56eae4660c59302f36343a15752ecf30576f3589.tar.xz
forums-56eae4660c59302f36343a15752ecf30576f3589.zip
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'tests/notification')
-rw-r--r--tests/notification/submit_post_base.php3
1 files changed, 2 insertions, 1 deletions
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);