mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10931] Unit tests for phpbb_php_ini class.
PHPBB3-10931
This commit is contained in:
16
tests/mock/phpbb_php_ini.php
Normal file
16
tests/mock/phpbb_php_ini.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2011 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_mock_phpbb_php_ini extends phpbb_php_ini
|
||||
{
|
||||
function get($varname)
|
||||
{
|
||||
return $varname;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user