aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fileupload_remote_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-02 15:46:41 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:54 +0200
commitb871dbcf1f2d0483cbe19cddf94a5bdc9659ab00 (patch)
tree67f2e480c3540db9d3c6b3d48d2db3872a6f6408 /tests/functional/fileupload_remote_test.php
parent52652ca1824e91ecfe7549167aebd92c314af678 (diff)
downloadforums-b871dbcf1f2d0483cbe19cddf94a5bdc9659ab00.tar
forums-b871dbcf1f2d0483cbe19cddf94a5bdc9659ab00.tar.gz
forums-b871dbcf1f2d0483cbe19cddf94a5bdc9659ab00.tar.bz2
forums-b871dbcf1f2d0483cbe19cddf94a5bdc9659ab00.tar.xz
forums-b871dbcf1f2d0483cbe19cddf94a5bdc9659ab00.zip
[ticket/13904] Remove phpbb_root_path global from filespec class
PHPBB3-13904
Diffstat (limited to 'tests/functional/fileupload_remote_test.php')
-rw-r--r--tests/functional/fileupload_remote_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/fileupload_remote_test.php b/tests/functional/fileupload_remote_test.php
index a32c339afa..f69ba9f122 100644
--- a/tests/functional/fileupload_remote_test.php
+++ b/tests/functional/fileupload_remote_test.php
@@ -53,7 +53,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$this->request = $this->getMock('\phpbb\request\request');
$container = new phpbb_mock_container_builder();
- $container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language));
+ $container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language, $this->phpbb_root_path));
$this->factory = new \phpbb\files\factory($container);
$container->set('files.factory', $this->factory);
$this->phpbb_root_path = $phpbb_root_path;