[TwigBundle] fixed tests
This commit is contained in:
parent
96045739b1
commit
355f802546
@ -5,4 +5,3 @@ framework:
|
||||
twig:
|
||||
debug: %kernel.debug%
|
||||
strict_variables: %kernel.debug%
|
||||
extensions: []
|
||||
|
@ -6,10 +6,6 @@ $container->loadFromExtension('twig', array(
|
||||
'MyBundle::form.html.twig',
|
||||
)
|
||||
),
|
||||
'extensions' => array(
|
||||
'twig.extension.debug',
|
||||
'twig.extension.text',
|
||||
),
|
||||
'globals' => array(
|
||||
'foo' => '@bar',
|
||||
'pi' => 3.14,
|
||||
|
@ -12,7 +12,5 @@
|
||||
</twig:form>
|
||||
<twig:global key="foo" id="bar" type="service" />
|
||||
<twig:global key="pi">3.14</twig:global>
|
||||
<twig:extension>twig.extension.debug</twig:extension>
|
||||
<twig:extension>twig.extension.text</twig:extension>
|
||||
</twig:config>
|
||||
</container>
|
||||
|
@ -2,9 +2,6 @@ twig:
|
||||
form:
|
||||
resources:
|
||||
- MyBundle::form.html.twig
|
||||
extensions:
|
||||
- twig.extension.debug
|
||||
- twig.extension.text
|
||||
globals:
|
||||
foo: @bar
|
||||
pi: 3.14
|
||||
|
Reference in New Issue
Block a user