aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includejs_test.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2012-05-01 17:41:46 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2012-05-01 17:41:46 +0300
commit5114edcafe440df04357d789c03b390d6da48db5 (patch)
tree809c53d2546e974be6a1b2e57f03c60b40650644 /tests/template/template_includejs_test.php
parent51347ebc09d18a55fa93fe86ef50a215148c935f (diff)
downloadforums-5114edcafe440df04357d789c03b390d6da48db5.tar
forums-5114edcafe440df04357d789c03b390d6da48db5.tar.gz
forums-5114edcafe440df04357d789c03b390d6da48db5.tar.bz2
forums-5114edcafe440df04357d789c03b390d6da48db5.tar.xz
forums-5114edcafe440df04357d789c03b390d6da48db5.zip
[ticket/10800] Changing html to js for includejs tests
Changing .html to .js files for includejs tests PHPBB3-10800
Diffstat (limited to 'tests/template/template_includejs_test.php')
-rw-r--r--tests/template/template_includejs_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/template/template_includejs_test.php b/tests/template/template_includejs_test.php
index d80254072b..a8f9a9037f 100644
--- a/tests/template/template_includejs_test.php
+++ b/tests/template/template_includejs_test.php
@@ -18,13 +18,13 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes
// Prepare correct result
$scripts = array(
- '<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>'
+ '<script src="' . $this->test_path . '/templates/parent_and_child.js?assets_version=1"></script>',
+ '<script src="' . $this->test_path . '/parent_templates/parent_only.js?assets_version=1"></script>',
+ '<script src="' . $this->test_path . '/templates/child_only.js?assets_version=1"></script>'
);
// Run test
$cache_file = $this->template->cachepath . 'includejs.html.php';
- $this->run_template('includejs.html', array('PARENT' => 'parent_only.html'), array(), array(), implode('', $scripts), $cache_file);
+ $this->run_template('includejs.html', array('PARENT' => 'parent_only.js'), array(), array(), implode('', $scripts), $cache_file);
}
}