diff options
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 |