minor #26986 [TwigBundle] fix tests (xabbuh)

This PR was merged into the 4.1-dev branch.

Discussion
----------

[TwigBundle] fix tests

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

468533e [TwigBundle] fix tests
This commit is contained in:
Nicolas Grekas 2018-04-20 11:26:53 +02:00
commit 4b66721658

View File

@ -45,6 +45,7 @@ class ConfigurationTest extends TestCase
public function testGlobalsAreNotNormalized()
{
$input = array(
'strict_variables' => false, // to be removed in 5.0 relying on default
'globals' => array('some-global' => true),
);
@ -57,6 +58,7 @@ class ConfigurationTest extends TestCase
public function testArrayKeysInGlobalsAreNotNormalized()
{
$input = array(
'strict_variables' => false, // to be removed in 5.0 relying on default
'globals' => array('global' => array('some-key' => 'some-value')),
);