mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11850] Fix tests
PHPBB3-11850
This commit is contained in:
parent
1440517b78
commit
870c293bab
1 changed files with 3 additions and 2 deletions
|
@ -20,13 +20,14 @@ abstract class phpbb_session_test_case extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
parent::setUp();
|
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(
|
$symfony_request = new \phpbb\symfony_request(
|
||||||
new phpbb_mock_request()
|
new phpbb_mock_request()
|
||||||
);
|
);
|
||||||
|
$phpbb_filesystem = new \phpbb\filesystem();
|
||||||
$phpbb_path_helper = new \phpbb\path_helper(
|
$phpbb_path_helper = new \phpbb\path_helper(
|
||||||
$symfony_request,
|
$symfony_request,
|
||||||
new \phpbb\filesystem(),
|
$phpbb_filesystem,
|
||||||
$phpbb_root_path,
|
$phpbb_root_path,
|
||||||
$phpEx
|
$phpEx
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue