aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/subdir
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-05-18 10:57:04 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-05-18 10:57:04 -0400
commitefda4da19fedd0e5bd67835034cfc689b8f5a740 (patch)
treeabc0d0c9e7b61db5a5783edbcab40bbc849a9bff /tests/template/subdir
parentf24d858cff9d98674cdfe2cb44e1f8fe5afb4563 (diff)
downloadforums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar
forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.gz
forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.bz2
forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.tar.xz
forums-efda4da19fedd0e5bd67835034cfc689b8f5a740.zip
[feature/template-engine] Moved includephp test to its own file.
PHPBB3-9726
Diffstat (limited to 'tests/template/subdir')
-rw-r--r--tests/template/subdir/includephp_from_subdir_test.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/template/subdir/includephp_from_subdir_test.php b/tests/template/subdir/includephp_from_subdir_test.php
index 7bfd852d9e..d6148c7032 100644
--- a/tests/template/subdir/includephp_from_subdir_test.php
+++ b/tests/template/subdir/includephp_from_subdir_test.php
@@ -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.