1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13073] Rework route tests and add tests for more directory types

PHPBB3-13073
This commit is contained in:
Marc Alexander
2014-09-19 00:35:17 +02:00
parent d74f45aee0
commit a6d9b42e5f
4 changed files with 121 additions and 58 deletions

View File

@@ -0,0 +1,33 @@
<?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.
*
*/
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
require_once dirname(__FILE__) . '/helper_route_test.php';
class phpbb_controller_helper_route_adm_test extends phpbb_controller_helper_route_test
{
protected function get_phpbb_root_path()
{
return './../../';
}
protected function get_uri()
{
return '/adm/subdir/index.php';
}
protected function get_script_name()
{
return 'index.php';
}
}