aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notification/base.php
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2014-12-17 23:11:14 +0000
committerbrunoais <brunoaiss@gmail.com>2014-12-17 23:11:14 +0000
commit8098d313e6b56822b202ff3be8c12762dfc33bf7 (patch)
treed6537d609ec74395be879d8b3182520b4895d565 /tests/notification/base.php
parent458f9cade60e145a2657a7080f0e2968d1f0c6cb (diff)
downloadforums-8098d313e6b56822b202ff3be8c12762dfc33bf7.tar
forums-8098d313e6b56822b202ff3be8c12762dfc33bf7.tar.gz
forums-8098d313e6b56822b202ff3be8c12762dfc33bf7.tar.bz2
forums-8098d313e6b56822b202ff3be8c12762dfc33bf7.tar.xz
forums-8098d313e6b56822b202ff3be8c12762dfc33bf7.zip
[ticket/13154] Adjusting phpBB tests for the dispatcher
PHPBB3-13154
Diffstat (limited to 'tests/notification/base.php')
-rw-r--r--tests/notification/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/notification/base.php b/tests/notification/base.php
index c97b7c24e2..ee8c8e0f3b 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
);
+
+ $phpbb_dispatcher = $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,