aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-09 17:28:56 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-09 17:28:56 -0500
commitf30b87519e9ead41525e1979cbce874e8a84e2b8 (patch)
treec21dc4ba2e8642e96e472df60518e55fd1be77e1 /tests/extension
parent2146d0c36b1bec9dffba49e9727f8b493a0fb0f2 (diff)
downloadforums-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar
forums-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar.gz
forums-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar.bz2
forums-f30b87519e9ead41525e1979cbce874e8a84e2b8.tar.xz
forums-f30b87519e9ead41525e1979cbce874e8a84e2b8.zip
[ticket/11832] Inject dependencies for phpbb_get_web_root_path (also moving)
Function moved from phpbb_get_web_root_path to filesystem::get_web_root_path PHPBB3-11832
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/manager_test.php2
-rw-r--r--tests/extension/metadata_manager_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/extension/manager_test.php b/tests/extension/manager_test.php
index a23e5a18d9..2da6ba5df5 100644
--- a/tests/extension/manager_test.php
+++ b/tests/extension/manager_test.php
@@ -114,7 +114,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
$container,
$db,
$config,
- new phpbb_filesystem(),
+ new phpbb_filesystem($phpbb_root_path),
'phpbb_ext',
dirname(__FILE__) . '/',
$php_ext,
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php
index e5bd29092e..594568b805 100644
--- a/tests/extension/metadata_manager_test.php
+++ b/tests/extension/metadata_manager_test.php
@@ -65,7 +65,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
$container,
$this->db,
$this->config,
- new phpbb_filesystem(),
+ new phpbb_filesystem($this->phpbb_root_path),
'phpbb_ext',
$this->phpbb_root_path,
$this->phpEx,