diff options
author | David King <imkingdavid@gmail.com> | 2012-08-21 11:18:53 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-08-21 11:18:53 -0400 |
commit | 008cf967ab176958126582b58941bd7649732315 (patch) | |
tree | 15389e5fd2f46a56703152df7c6184e1f6c87436 /tests/session | |
parent | efe9b1010ac7fc38dec0e5182c1902830685f5e3 (diff) | |
download | forums-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.php | 3 |
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));
}
}
|