mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12099] Add request argument to path_helper service
PHPBB3-12099
This commit is contained in:
@@ -29,6 +29,8 @@ class phpbb_path_helper_test extends phpbb_test_case
|
||||
new phpbb_mock_request()
|
||||
),
|
||||
new \phpbb\filesystem(),
|
||||
$this->getMock('\phpbb\request\request'),
|
||||
new \phpbb\config\config(array()),
|
||||
$this->phpbb_root_path,
|
||||
'php'
|
||||
);
|
||||
@@ -158,6 +160,8 @@ class phpbb_path_helper_test extends phpbb_test_case
|
||||
$path_helper = new \phpbb\path_helper(
|
||||
$symfony_request,
|
||||
new \phpbb\filesystem(),
|
||||
$this->getMock('\phpbb\request\request'),
|
||||
new \phpbb\config\config(array()),
|
||||
$this->phpbb_root_path,
|
||||
'php'
|
||||
);
|
||||
|
Reference in New Issue
Block a user