aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/extension_manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/extension_manager.php')
-rw-r--r--tests/mock/extension_manager.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/mock/extension_manager.php b/tests/mock/extension_manager.php
index 0d1b6940ca..7049cbdc50 100644
--- a/tests/mock/extension_manager.php
+++ b/tests/mock/extension_manager.php
@@ -7,19 +7,13 @@
*
*/
-class phpbb_mock_extension_manager extends phpbb_extension_manager
+class phpbb_mock_extension_manager extends \phpbb\extension\manager
{
public function __construct($phpbb_root_path, $extensions = array())
{
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = 'php';
$this->extensions = $extensions;
- $this->filesystem = new phpbb_filesystem(
- new phpbb_symfony_request(
- new phpbb_mock_request()
- ),
- $this->phpbb_root_path,
- $this->php_ext
- );
+ $this->filesystem = new \phpbb\filesystem();
}
}