mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
26 lines
570 B
PHP
26 lines
570 B
PHP
<?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->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
|
|
);
|
|
}
|
|
}
|