diff options
author | Pico88 <luki_9@wp.pl> | 2014-04-21 19:53:46 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-29 20:54:38 +0200 |
commit | f383d4221ce085dc36ef4c04a0a2c7c3f381b108 (patch) | |
tree | 06dfe75ca688aff35693b29c574a7365890fee4f /tests/template | |
parent | 404c2f11448f53e55eca4cfdf082671230711241 (diff) | |
download | forums-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/template')
-rw-r--r-- | tests/template/template_events_test.php | 2 | ||||
-rw-r--r-- | tests/template/template_test_case.php | 2 | ||||
-rw-r--r-- | tests/template/template_test_case_with_tree.php | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/template_events_test.php b/tests/template/template_events_test.php index ce3c90b78a..2c29d42173 100644 --- a/tests/template/template_events_test.php +++ b/tests/template/template_events_test.php @@ -143,6 +143,8 @@ Zeta test event in all', new phpbb_mock_request() ), new \phpbb\filesystem(), + $this->getMock('\phpbb\request\request'), + new \phpbb\config\config(array()), $phpbb_root_path, $phpEx ); diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php index 00b823b2c4..d393027566 100644 --- a/tests/template/template_test_case.php +++ b/tests/template/template_test_case.php @@ -72,6 +72,8 @@ class phpbb_template_template_test_case extends phpbb_test_case new phpbb_mock_request() ), new \phpbb\filesystem(), + $this->getMock('\phpbb\request\request'), + new \phpbb\config\config(array()), $phpbb_root_path, $phpEx ); diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php index 4f778a9c1c..c1b22e94e0 100644 --- a/tests/template/template_test_case_with_tree.php +++ b/tests/template/template_test_case_with_tree.php @@ -27,6 +27,8 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat new phpbb_mock_request() ), new \phpbb\filesystem(), + $this->getMock('\phpbb\request\request'), + new \phpbb\config\config(array()), $phpbb_root_path, $phpEx ); |