aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/extension_manager.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-09-10 19:21:00 +0200
committerTristan Darricau <github@nicofuma.fr>2014-09-10 19:22:00 +0200
commit04e0d305d0c822299204e5eb28f2571e7b128b9a (patch)
treea3220db9889f1b0675dd2a9f672e390790125a38 /tests/mock/extension_manager.php
parent72ee4b3a7c4fca67cb226dab3ed27a8afa903144 (diff)
downloadforums-04e0d305d0c822299204e5eb28f2571e7b128b9a.tar
forums-04e0d305d0c822299204e5eb28f2571e7b128b9a.tar.gz
forums-04e0d305d0c822299204e5eb28f2571e7b128b9a.tar.bz2
forums-04e0d305d0c822299204e5eb28f2571e7b128b9a.tar.xz
forums-04e0d305d0c822299204e5eb28f2571e7b128b9a.zip
[ticket/12963] Add unit tests
PHPBB3-12963
Diffstat (limited to 'tests/mock/extension_manager.php')
-rw-r--r--tests/mock/extension_manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mock/extension_manager.php b/tests/mock/extension_manager.php
index 1a475f62e0..3b759fbbc2 100644
--- a/tests/mock/extension_manager.php
+++ b/tests/mock/extension_manager.php
@@ -13,11 +13,12 @@
class phpbb_mock_extension_manager extends \phpbb\extension\manager
{
- public function __construct($phpbb_root_path, $extensions = array())
+ public function __construct($phpbb_root_path, $extensions = array(), $container = null)
{
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = 'php';
$this->extensions = $extensions;
$this->filesystem = new \phpbb\filesystem();
+ $this->container = $container;
}
}