mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-15 05:04:09 +02:00
[feature/twig] Add simple test to make sure Twig filters/tags are working
PHPBB3-11598
This commit is contained in:
6
tests/template/templates/twig.html
Normal file
6
tests/template/templates/twig.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<!-- EXTENDS "twig_parent.html" -->
|
||||
|
||||
<!-- BLOCK overwritten -->
|
||||
3{VARIABLE|upper}|{VARIABLE|lower}
|
||||
<!-- ENDBLOCK -->
|
||||
|
7
tests/template/templates/twig_parent.html
Normal file
7
tests/template/templates/twig_parent.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- BLOCK notoverwritten -->
|
||||
1
|
||||
<!-- ENDBLOCK -->
|
||||
|
||||
<!-- BLOCK overwritten -->
|
||||
2
|
||||
<!-- ENDBLOCK -->
|
Reference in New Issue
Block a user