Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e273d81

Browse filesBrowse files
[SecurityBundle] fix test by always disabling CSRF
1 parent e5d178e commit e273d81
Copy full SHA for e273d81

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.