diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2012-04-29 00:30:08 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2012-04-29 00:30:08 +0300 |
commit | 51347ebc09d18a55fa93fe86ef50a215148c935f (patch) | |
tree | ec28c472f113d50a521fb1faa4613cb6b6d76ba4 /tests/template/template_includejs_test.php | |
parent | 2a92fee06d22eb54ee9373adca1c3b50b1d3e3d7 (diff) | |
download | forums-51347ebc09d18a55fa93fe86ef50a215148c935f.tar forums-51347ebc09d18a55fa93fe86ef50a215148c935f.tar.gz forums-51347ebc09d18a55fa93fe86ef50a215148c935f.tar.bz2 forums-51347ebc09d18a55fa93fe86ef50a215148c935f.tar.xz forums-51347ebc09d18a55fa93fe86ef50a215148c935f.zip |
[ticket/10800] Changing template paths in tests
Changing template paths in tests from absolute to relative
PHPBB3-10800
Diffstat (limited to 'tests/template/template_includejs_test.php')
-rw-r--r-- | tests/template/template_includejs_test.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/template/template_includejs_test.php b/tests/template/template_includejs_test.php index 632fde61d1..d80254072b 100644 --- a/tests/template/template_includejs_test.php +++ b/tests/template/template_includejs_test.php @@ -17,11 +17,10 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes $this->setup_engine(array('assets_version' => 1)); // Prepare correct result - $dir = dirname(__FILE__); $scripts = array( - '<script src="' . $dir . '/templates/parent_and_child.html?assets_version=1"></script>', - '<script src="' . $dir . '/parent_templates/parent_only.html?assets_version=1"></script>', - '<script src="' . $dir . '/templates/child_only.html?assets_version=1"></script>' + '<script src="' . $this->test_path . '/templates/parent_and_child.html?assets_version=1"></script>', + '<script src="' . $this->test_path . '/parent_templates/parent_only.html?assets_version=1"></script>', + '<script src="' . $this->test_path . '/templates/child_only.html?assets_version=1"></script>' ); // Run test |