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.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/mock/extension_manager.php b/tests/mock/extension_manager.php
new file mode 100644
index 0000000000..77f799dd3b
--- /dev/null
+++ b/tests/mock/extension_manager.php
@@ -0,0 +1,18 @@
+<?php
+/**
+*
+* @package testing
+* @copyright (c) 2011 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+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->phpEx = '.php';
+ $this->extensions = $extensions;
+ }
+}