aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-11 15:19:39 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-07-11 15:19:39 +0200
commit7262045a24a6823e4da71868c14f16b438098caa (patch)
treedf5987f24eae92418f1dc0ebcde9af3a8523a907 /tests/notification
parent753dc62267118e44b16653113521fe6d0a360720 (diff)
downloadforums-7262045a24a6823e4da71868c14f16b438098caa.tar
forums-7262045a24a6823e4da71868c14f16b438098caa.tar.gz
forums-7262045a24a6823e4da71868c14f16b438098caa.tar.bz2
forums-7262045a24a6823e4da71868c14f16b438098caa.tar.xz
forums-7262045a24a6823e4da71868c14f16b438098caa.zip
[ticket/9657] Fix notification tests
PHPBB3-9657
Diffstat (limited to 'tests/notification')
-rw-r--r--tests/notification/submit_post_base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php
index 59daf6c9cb..4e564ce23c 100644
--- a/tests/notification/submit_post_base.php
+++ b/tests/notification/submit_post_base.php
@@ -96,6 +96,7 @@ class phpbb_notification_submit_post_base extends phpbb_database_test_case
// Container
$phpbb_container = new phpbb_mock_container_builder();
+ $phpbb_container->set('content.visibility', new phpbb_content_visibility($auth, $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);