1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00
php-phpbb/tests/mock/config_php_file.php
Tristan Darricau b266ebbcef [ticket/16741] Test fixes
PHPBB3-16741
2021-11-09 02:49:56 +01:00

28 lines
577 B
PHP

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
class phpbb_mock_config_php_file extends \phpbb\config_php_file {
public function __construct()
{
}
protected function load_config_file()
{
if (!$this->config_loaded)
{
$this->config_data = phpbb_test_case_helpers::get_test_config();
$this->config_loaded = true;
}
}
}