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:
@@ -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
|
||||
|
Reference in New Issue
Block a user