aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-05-05 18:17:14 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-05-05 18:17:14 +0200
commitde687f32ed8df438cb798d98f1a5dda7a5ac76dc (patch)
tree346e51469449521e40a25d875bcc3f7b8d7846f7 /tests/extension
parentba53901ffb734995b42626a71a81a5abaa55f85d (diff)
parent51376a43919cba7a5037edb7cc31f18b5950437b (diff)
downloadforums-de687f32ed8df438cb798d98f1a5dda7a5ac76dc.tar
forums-de687f32ed8df438cb798d98f1a5dda7a5ac76dc.tar.gz
forums-de687f32ed8df438cb798d98f1a5dda7a5ac76dc.tar.bz2
forums-de687f32ed8df438cb798d98f1a5dda7a5ac76dc.tar.xz
forums-de687f32ed8df438cb798d98f1a5dda7a5ac76dc.zip
Merge pull request #3432 from Nicofuma/ticket/13638
[ticket/13638] Prepend the assets path phpbb root
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/metadata_manager_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php
index 101ab8616c..aaaee3b2e5 100644
--- a/tests/extension/metadata_manager_test.php
+++ b/tests/extension/metadata_manager_test.php
@@ -51,17 +51,19 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
$cache_path = $this->phpbb_root_path . 'cache/twig';
$context = new \phpbb\template\context();
$loader = new \phpbb\template\twig\loader(new \phpbb\filesystem\filesystem(), '');
- $phpbb_path_helper =new \phpbb\path_helper(
+ $filesystem = new \phpbb\filesystem\filesystem();
+ $phpbb_path_helper = new \phpbb\path_helper(
new \phpbb\symfony_request(
new phpbb_mock_request()
),
- new \phpbb\filesystem\filesystem(),
+ $filesystem,
$this->getMock('\phpbb\request\request'),
$this->phpbb_root_path,
$this->phpEx
);
$twig = new \phpbb\template\twig\environment(
$this->config,
+ $filesystem,
$phpbb_path_helper,
$container,
$cache_path,