remove short array syntax

The short array syntax was introduced in PHP 5.4 and therefore leads
to failing tests when executed in PHP 5.3 environments.
This commit is contained in:
Christian Flothmann 2014-12-12 19:44:55 +01:00
parent e38b8e68bb
commit 697ce4d794
1 changed files with 2 additions and 2 deletions

View File

@ -80,13 +80,13 @@ class SecurityExtensionTest extends \PHPUnit_Framework_TestCase
$container->loadFromExtension('security', array(
'providers' => array(
'my_foo' => array('foo' => []),
'my_foo' => array('foo' => array()),
),
'firewalls' => array(
'some_firewall' => array(
'pattern' => '/.*',
'http_basic' => [],
'http_basic' => array(),
),
),
));