diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-13 23:31:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-13 23:31:37 +0100 |
commit | 853733a0eb04f917fe3195ed9f36cfcf643deffd (patch) | |
tree | e7d50b5bbd3c907fe990db8e8a39634561e4673a /tests/notification | |
parent | 26beafa5645f18fe1a391092d1cfbb122342e060 (diff) | |
parent | e3e16a0166eafc9f273d3eabc61a8bd711610787 (diff) | |
download | forums-853733a0eb04f917fe3195ed9f36cfcf643deffd.tar forums-853733a0eb04f917fe3195ed9f36cfcf643deffd.tar.gz forums-853733a0eb04f917fe3195ed9f36cfcf643deffd.tar.bz2 forums-853733a0eb04f917fe3195ed9f36cfcf643deffd.tar.xz forums-853733a0eb04f917fe3195ed9f36cfcf643deffd.zip |
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'tests/notification')
-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); |