mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 08:12:17 +02:00
[ticket/11843] Add checking DEFINE variables with underscores to template_test
To prevent the underscore in DEFINE variables from being forgotten again, the template tests now test INCLUDEing a file based on the contents of a DEFINE variable with underscores in it. PHPBB3-11843
This commit is contained in:
parent
42884546cc
commit
45ecbae1ed
@ -237,7 +237,7 @@ class phpbb_template_template_test extends phpbb_template_template_test_case
|
||||
array('VARIABLE' => 'variable.html'),
|
||||
array(),
|
||||
array(),
|
||||
'variable.html',
|
||||
'variable.htmlvariable.html',
|
||||
),
|
||||
array(
|
||||
'include_loop_define.html',
|
||||
|
@ -1,2 +1,4 @@
|
||||
<!-- DEFINE $DEF = '{VARIABLE}' -->
|
||||
<!-- INCLUDE {$DEF} -->
|
||||
<!-- DEFINE $DEF_WITH_UNDERSCORES = '{VARIABLE}' -->
|
||||
<!-- INCLUDE {$DEF_WITH_UNDERSCORES} -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user