aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path_helper
diff options
context:
space:
mode:
authorPico88 <luki_9@wp.pl>2014-04-21 19:53:46 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-29 20:54:38 +0200
commitf383d4221ce085dc36ef4c04a0a2c7c3f381b108 (patch)
tree06dfe75ca688aff35693b29c574a7365890fee4f /tests/path_helper
parent404c2f11448f53e55eca4cfdf082671230711241 (diff)
downloadforums-f383d4221ce085dc36ef4c04a0a2c7c3f381b108.tar
forums-f383d4221ce085dc36ef4c04a0a2c7c3f381b108.tar.gz
forums-f383d4221ce085dc36ef4c04a0a2c7c3f381b108.tar.bz2
forums-f383d4221ce085dc36ef4c04a0a2c7c3f381b108.tar.xz
forums-f383d4221ce085dc36ef4c04a0a2c7c3f381b108.zip
[ticket/12099] Add request argument to path_helper service
PHPBB3-12099
Diffstat (limited to 'tests/path_helper')
-rw-r--r--tests/path_helper/path_helper_test.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/path_helper/path_helper_test.php b/tests/path_helper/path_helper_test.php
index 9866cb6efe..e7e2ae697f 100644
--- a/tests/path_helper/path_helper_test.php
+++ b/tests/path_helper/path_helper_test.php
@@ -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'
);