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

[ticket/12963] Add unit tests

PHPBB3-12963
This commit is contained in:
Tristan Darricau
2014-09-10 19:21:00 +02:00
parent 72ee4b3a7c
commit 04e0d305d0
7 changed files with 214 additions and 1 deletions

View File

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