-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
SecurityTestinghasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
Hi,
The docs in http://symfony.com/doc/current/testing/http_authentication.html
says too add the following content to config_test.yml
security:
firewalls:
your_firewall_name:
http_basic: ~
Although when you do that and try to test you run into this error:
Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: You are not allowed to define new elements for path "security.firewalls". Please define all elements for this path in one config file.
This is because config.yml imports security.yml that already has security.firewalls defined.
Btw, anyone know a good way to make this http authentication test work?
Metadata
Metadata
Assignees
Labels
SecurityTestinghasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.