1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-18 18:26:13 +02:00
Files
php-phpbb/tests/mock/extension_manager.php
Nathan Guse b4a374dc73 [ticket/11832] Fix INCLUDE(JS/CSS)
PHPBB3-11832
2013-09-13 10:58:03 -05:00

26 lines
567 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
);
}
}