diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-13 23:31:28 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-13 23:31:28 +0100 |
commit | e3e16a0166eafc9f273d3eabc61a8bd711610787 (patch) | |
tree | 4314703cb7c2091a39d3f8f04d58f82afaa7c872 /tests | |
parent | 2a08c60a6217556769cc1eb63b2335daf43f901f (diff) | |
parent | 2b76d7dc7c21d927398fdb5abe7b60875badc6ce (diff) | |
download | forums-e3e16a0166eafc9f273d3eabc61a8bd711610787.tar forums-e3e16a0166eafc9f273d3eabc61a8bd711610787.tar.gz forums-e3e16a0166eafc9f273d3eabc61a8bd711610787.tar.bz2 forums-e3e16a0166eafc9f273d3eabc61a8bd711610787.tar.xz forums-e3e16a0166eafc9f273d3eabc61a8bd711610787.zip |
Merge pull request #3234 from brunoais/ticket/13154
[ticket/13154] Event to edit user list for notification in notifications
Diffstat (limited to 'tests')
-rw-r--r-- | tests/notification/base.php | 3 | ||||
-rw-r--r-- | tests/notification/submit_post_base.php | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php index c97b7c24e2..162feae557 100644 --- a/tests/notification/base.php +++ b/tests/notification/base.php @@ -66,6 +66,8 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case $phpbb_root_path, $phpEx ); + + $this->phpbb_dispatcher = new phpbb_mock_event_dispatcher(); $phpbb_container = $this->container = new phpbb_mock_container_builder(); @@ -75,6 +77,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case $this->container, $this->user_loader, $this->config, + $this->phpbb_dispatcher, $this->db, $this->cache, $this->user, diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php index 6ab4492de0..5e770f71c9 100644 --- a/tests/notification/submit_post_base.php +++ b/tests/notification/submit_post_base.php @@ -123,7 +123,7 @@ abstract class phpbb_notification_submit_post_base extends phpbb_database_test_c // Notification Manager $phpbb_notifications = new \phpbb\notification\manager($notification_types_array, array(), - $phpbb_container, $user_loader, $config, $db, $cache, $user, + $phpbb_container, $user_loader, $config, $phpbb_dispatcher, $db, $cache, $user, $phpbb_root_path, $phpEx, NOTIFICATION_TYPES_TABLE, NOTIFICATIONS_TABLE, USER_NOTIFICATIONS_TABLE); $phpbb_container->set('notification_manager', $phpbb_notifications); |