1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11832] Fix constructions of phpbb_filesystem

PHPBB3-11832
This commit is contained in:
Nathan Guse
2013-09-13 10:04:35 -05:00
parent f8e665751a
commit 21624e79fc
8 changed files with 41 additions and 14 deletions

View File

@@ -14,6 +14,11 @@ 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($phpbb_root_path);
$this->filesystem = new phpbb_filesystem(
new phpbb_symfony_request(
new phpbb_mock_request()
),
$phpbb_root_path
);
}
}