aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-30 20:04:32 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-30 20:04:32 -0500
commit870c293bab260e1941c6c2e5fea1c11aa80472ec (patch)
tree35e79b1b056527d05294fcfa785a09b5570d8ff6 /tests
parent1440517b78e51aa00c36dbc4f09c2df2efafe6d3 (diff)
downloadforums-870c293bab260e1941c6c2e5fea1c11aa80472ec.tar
forums-870c293bab260e1941c6c2e5fea1c11aa80472ec.tar.gz
forums-870c293bab260e1941c6c2e5fea1c11aa80472ec.tar.bz2
forums-870c293bab260e1941c6c2e5fea1c11aa80472ec.tar.xz
forums-870c293bab260e1941c6c2e5fea1c11aa80472ec.zip
[ticket/11850] Fix tests
PHPBB3-11850
Diffstat (limited to 'tests')
-rw-r--r--tests/test_framework/phpbb_session_test_case.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_framework/phpbb_session_test_case.php b/tests/test_framework/phpbb_session_test_case.php
index 36b4ff025f..0a2f767845 100644
--- a/tests/test_framework/phpbb_session_test_case.php
+++ b/tests/test_framework/phpbb_session_test_case.php
@@ -20,13 +20,14 @@ abstract class phpbb_session_test_case extends phpbb_database_test_case
{
parent::setUp();
- global $symfony_request, $phpbb_path_helper, $request, $phpbb_root_path, $phpEx;
+ global $symfony_request, $phpbb_filesystem, $phpbb_path_helper, $request, $phpbb_root_path, $phpEx;
$symfony_request = new \phpbb\symfony_request(
new phpbb_mock_request()
);
+ $phpbb_filesystem = new \phpbb\filesystem();
$phpbb_path_helper = new \phpbb\path_helper(
$symfony_request,
- new \phpbb\filesystem(),
+ $phpbb_filesystem,
$phpbb_root_path,
$phpEx
);