aboutsummaryrefslogtreecommitdiffstats
path: root/tests/event/dispatcher_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/event/dispatcher_test.php')
-rw-r--r--tests/event/dispatcher_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/event/dispatcher_test.php b/tests/event/dispatcher_test.php
index f8fe060d99..9b9203e06a 100644
--- a/tests/event/dispatcher_test.php
+++ b/tests/event/dispatcher_test.php
@@ -11,7 +11,7 @@ class phpbb_event_dispatcher_test extends phpbb_test_case
{
public function test_trigger_event()
{
- $dispatcher = new phpbb_event_dispatcher();
+ $dispatcher = new phpbb_event_dispatcher(new phpbb_mock_container_builder());
$dispatcher->addListener('core.test_event', function (phpbb_event_data $event) {
$event['foo'] = $event['foo'] . '2';