aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-21 11:18:53 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-21 11:18:53 -0400
commit008cf967ab176958126582b58941bd7649732315 (patch)
tree15389e5fd2f46a56703152df7c6184e1f6c87436 /tests/session
parentefe9b1010ac7fc38dec0e5182c1902830685f5e3 (diff)
downloadforums-008cf967ab176958126582b58941bd7649732315.tar
forums-008cf967ab176958126582b58941bd7649732315.tar.gz
forums-008cf967ab176958126582b58941bd7649732315.tar.bz2
forums-008cf967ab176958126582b58941bd7649732315.tar.xz
forums-008cf967ab176958126582b58941bd7649732315.zip
[feature/add_events] Re-fix broken test
PHPBB3-9550
Diffstat (limited to 'tests/session')
-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));
}
}