diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-10 12:29:48 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-10 12:29:48 +0100 |
| commit | bf59d8dd746578dac4f239cbbce5885acfadaefd (patch) | |
| tree | 515213e6ae2fba51bf2a87f1bc3a621e06f5c5a6 /tests/notification | |
| parent | 8ae1b0c52e21d105d1f35b5174081423b7c17bc4 (diff) | |
| parent | cea35c486c7b5307bb683c0f2ce8f426357d6ff2 (diff) | |
| download | forums-bf59d8dd746578dac4f239cbbce5885acfadaefd.tar forums-bf59d8dd746578dac4f239cbbce5885acfadaefd.tar.gz forums-bf59d8dd746578dac4f239cbbce5885acfadaefd.tar.bz2 forums-bf59d8dd746578dac4f239cbbce5885acfadaefd.tar.xz forums-bf59d8dd746578dac4f239cbbce5885acfadaefd.zip | |
Merge pull request #3209 from brunoais/ticket/13146
[ticket/13146] Allow changing the result of calling get_forums_visibility_sql
Diffstat (limited to 'tests/notification')
| -rw-r--r-- | tests/notification/submit_post_base.php | 3 |
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); |
