diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:28:35 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-11 11:28:35 -0500 |
commit | 947b907efef43704c620507db17aff4fe115f219 (patch) | |
tree | 9eabcae6e2b6a585d3db0767f685379b60420e29 /tests/template/template_includejs_test.php | |
parent | abd4159f87db8db5030afc439f072d6aa7b715e3 (diff) | |
download | forums-947b907efef43704c620507db17aff4fe115f219.tar forums-947b907efef43704c620507db17aff4fe115f219.tar.gz forums-947b907efef43704c620507db17aff4fe115f219.tar.bz2 forums-947b907efef43704c620507db17aff4fe115f219.tar.xz forums-947b907efef43704c620507db17aff4fe115f219.zip |
[ticket/11388] Do not append assets_version if using remote path (e.g. http)
PHPBB3-11388
Diffstat (limited to 'tests/template/template_includejs_test.php')
-rw-r--r-- | tests/template/template_includejs_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/template/template_includejs_test.php b/tests/template/template_includejs_test.php index d4a384a1c5..ea5c30891b 100644 --- a/tests/template/template_includejs_test.php +++ b/tests/template/template_includejs_test.php @@ -78,15 +78,15 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes ), array( array('TEST' => 15), - '<script type="text/javascript" src="http://phpbb.com/b.js?c=d&assets_version=1#f"></script>', + '<script type="text/javascript" src="http://phpbb.com/b.js?c=d#f"></script>', ), array( array('TEST' => 16), - '<script type="text/javascript" src="http://phpbb.com/b.js?c=d&assets_version=1&assets_version=1#f"></script>', + '<script type="text/javascript" src="http://phpbb.com/b.js?c=d&assets_version=1#f"></script>', ), array( array('TEST' => 17), - '<script type="text/javascript" src="//phpbb.com/b.js?assets_version=1"></script>', + '<script type="text/javascript" src="//phpbb.com/b.js"></script>', ), ); } |