1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

[feature/template-engine] Moved includephp test to its own file.

PHPBB3-9726
This commit is contained in:
Oleg Pudeyev
2011-05-18 10:57:04 -04:00
parent f24d858cff
commit efda4da19f
3 changed files with 28 additions and 17 deletions

View File

@@ -7,13 +7,11 @@
*
*/
require_once dirname(__FILE__) . '/../../../phpBB/includes/functions.php';
require_once dirname(__FILE__) . '/../../../phpBB/includes/template.php';
require_once dirname(__FILE__) . '/../template_test_case.php';
class phpbb_template_subdir_includephp_from_subdir_test extends phpbb_template_template_test_case
{
// Exact copy of test_includephp_relatve from ../template_test.php.
// Exact copy of test_includephp_relatve from ../includephp_test.php.
// Verifies that relative php inclusion works when including script
// (and thus current working directory) is in a subdirectory of
// board root.