[TwigBundle] fixed tests

This commit is contained in:
Fabien Potencier 2011-06-11 07:52:37 +02:00
parent 96045739b1
commit 355f802546
4 changed files with 0 additions and 10 deletions

View File

@ -5,4 +5,3 @@ framework:
twig:
debug: %kernel.debug%
strict_variables: %kernel.debug%
extensions: []

View File

@ -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,

View File

@ -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>

View File

@ -2,9 +2,6 @@ twig:
form:
resources:
- MyBundle::form.html.twig
extensions:
- twig.extension.debug
- twig.extension.text
globals:
foo: @bar
pi: 3.14