aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session/append_sid_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/session/append_sid_test.php')
-rw-r--r--tests/session/append_sid_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/session/append_sid_test.php b/tests/session/append_sid_test.php
index 88f6f0718e..34f6dea8ca 100644
--- a/tests/session/append_sid_test.php
+++ b/tests/session/append_sid_test.php
@@ -45,6 +45,9 @@ class phpbb_session_append_sid_test extends phpbb_test_case
*/
public function test_append_sid($url, $params, $is_amp, $session_id, $expected, $description)
{
+ global $phpbb_dispatcher;
+
+ $phpbb_dispatcher = new phpbb_mock_event_dispatcher;
$this->assertEquals($expected, append_sid($url, $params, $is_amp, $session_id));
}
}