1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/13904] Remove phpbb_root_path global from filespec class

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-06-02 15:46:41 +02:00
parent 52652ca182
commit b871dbcf1f
5 changed files with 22 additions and 13 deletions

View File

@@ -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;