[TwigBundle] fix tests
This commit is contained in:
parent
306c5992ec
commit
468533e18f
@ -45,6 +45,7 @@ class ConfigurationTest extends TestCase
|
|||||||
public function testGlobalsAreNotNormalized()
|
public function testGlobalsAreNotNormalized()
|
||||||
{
|
{
|
||||||
$input = array(
|
$input = array(
|
||||||
|
'strict_variables' => false, // to be removed in 5.0 relying on default
|
||||||
'globals' => array('some-global' => true),
|
'globals' => array('some-global' => true),
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -57,6 +58,7 @@ class ConfigurationTest extends TestCase
|
|||||||
public function testArrayKeysInGlobalsAreNotNormalized()
|
public function testArrayKeysInGlobalsAreNotNormalized()
|
||||||
{
|
{
|
||||||
$input = array(
|
$input = array(
|
||||||
|
'strict_variables' => false, // to be removed in 5.0 relying on default
|
||||||
'globals' => array('global' => array('some-key' => 'some-value')),
|
'globals' => array('global' => array('some-key' => 'some-value')),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user