aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
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/mock
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/mock')
-rw-r--r--tests/mock/extension_manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mock/extension_manager.php b/tests/mock/extension_manager.php
index 10b3595206..28eec5930f 100644
--- a/tests/mock/extension_manager.php
+++ b/tests/mock/extension_manager.php
@@ -14,6 +14,6 @@ class phpbb_mock_extension_manager extends phpbb_extension_manager
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = 'php';
$this->extensions = $extensions;
- $this->filesystem = new phpbb_filesystem();
+ $this->filesystem = new phpbb_filesystem($phpbb_root_path);
}
}