Disable security firewall in test environment on Symfony2
php, symfony
Solution
As mentioned in similar topic turn off firewall when developing put following rule in Your security.yml:
firewalls:
dev:
pattern: ^/
security: false
Problem
I'm trying to disable a security firewall for a test environment in Symfony2, but i'm not having luck. Here's what i have in config_test.yml: ``` security: firewalls: web: pattern: .* security: false anonymous: ~ ``` However, this is not disabling security. Any ideas how i can completely disable security for a certain firewall when in test env?