aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_includejs_test.php
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-07-08 15:12:08 +0100
committerFyorl <gaelreth@gmail.com>2012-07-08 20:41:22 +0100
commitd0cb5bb093d09a15f422f84e19d781a8260512a0 (patch)
tree897bd9ae227cc4c7891f30f8ec538e01e9f14fdd /tests/template/template_includejs_test.php
parentd5896239068e1063970f398a12ffb5a0707fb286 (diff)
downloadforums-d0cb5bb093d09a15f422f84e19d781a8260512a0.tar
forums-d0cb5bb093d09a15f422f84e19d781a8260512a0.tar.gz
forums-d0cb5bb093d09a15f422f84e19d781a8260512a0.tar.bz2
forums-d0cb5bb093d09a15f422f84e19d781a8260512a0.tar.xz
forums-d0cb5bb093d09a15f422f84e19d781a8260512a0.zip
[ticket/10970] Added support for forms such as {FOO}bar.{EXT}
PHPBB3-10970
Diffstat (limited to 'tests/template/template_includejs_test.php')
-rw-r--r--tests/template/template_includejs_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/template/template_includejs_test.php b/tests/template/template_includejs_test.php
index d8c7170e94..22b020208b 100644
--- a/tests/template/template_includejs_test.php
+++ b/tests/template/template_includejs_test.php
@@ -23,10 +23,11 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes
'<script src="' . $this->test_path . '/templates/child_only.js?assets_version=1"></script>',
'<script src="' . $this->test_path . '/templates/subdir/parent_only.js?assets_version=1"></script>',
'<script src="' . $this->test_path . '/templates/subdir/subsubdir/parent_only.js?assets_version=1"></script>',
+ '<script src="' . $this->test_path . '/templates/subdir/parent_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.js', 'SUBDIR' => 'subdir'), array(), array(), implode('', $scripts), $cache_file);
+ $this->run_template('includejs.html', array('PARENT' => 'parent_only.js', 'SUBDIR' => 'subdir', 'EXT' => 'js'), array(), array(), implode('', $scripts), $cache_file);
}
}