1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/10800] Changing template paths in tests

Changing template paths in tests from absolute to relative

PHPBB3-10800
This commit is contained in:
Vjacheslav Trushkin
2012-04-29 00:30:08 +03:00
parent 2a92fee06d
commit 51347ebc09
5 changed files with 12 additions and 11 deletions

View File

@@ -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