aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/group_request_test.php
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2018-11-29 20:27:04 +0100
committermrgoldy <gijsmartens1@gmail.com>2018-11-29 20:27:04 +0100
commita1baf106d68259daa0c6b1cd1bec8e870aef94f6 (patch)
treeb7ce6592f6512cdfbf345e6d88bf3490fccb406f /tests/notification/group_request_test.php
parentb6f6930eb56b9fd64f200a7b0e6d8cd28f0e73f6 (diff)
downloadforums-a1baf106d68259daa0c6b1cd1bec8e870aef94f6.tar
forums-a1baf106d68259daa0c6b1cd1bec8e870aef94f6.tar.gz
forums-a1baf106d68259daa0c6b1cd1bec8e870aef94f6.tar.bz2
forums-a1baf106d68259daa0c6b1cd1bec8e870aef94f6.tar.xz
forums-a1baf106d68259daa0c6b1cd1bec8e870aef94f6.zip
[ticket/15886] Fix notification_group_request_test
PHPBB3-15886
Diffstat (limited to 'tests/notification/group_request_test.php')
-rw-r--r--tests/notification/group_request_test.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/notification/group_request_test.php b/tests/notification/group_request_test.php
index 92e758a336..36017945ec 100644
--- a/tests/notification/group_request_test.php
+++ b/tests/notification/group_request_test.php
@@ -49,9 +49,17 @@ class phpbb_notification_group_request_test extends phpbb_tests_notification_bas
$this->cache->get_driver()
));
$this->container->set('group_helper', new \phpbb\group\helper(
+ $this->getMock('\phpbb\auth\auth'),
+ $this->cache,
+ $this->config,
new \phpbb\language\language(
new phpbb\language\language_file_loader($phpbb_root_path, $phpEx)
- )
+ ),
+ new phpbb_mock_event_dispatcher(),
+ $this->getMock('\phpbb\path_helper'),
+ $this->user,
+ $phpbb_root_path,
+ $phpEx
));
$phpbb_dispatcher = new phpbb_mock_event_dispatcher;
$phpbb_log = new \phpbb\log\dummy();