Skip to content

Commit e273d81

Browse files
[SecurityBundle] fix test by always disabling CSRF
1 parent e5d178e commit e273d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private function createContainer($sessionStorageOptions)
121121
);
122122

123123
$ext = new FrameworkExtension();
124-
$ext->load(array(), $container);
124+
$ext->load(array('framework' => array('csrf_protection' => false)), $container);
125125

126126
$ext = new SecurityExtension();
127127
$ext->load($config, $container);

0 commit comments

Comments
 (0)