Part-DB.Part-DB-server/config/packages/test/security.yaml
Jan Böhmer e66fcc85fc Use plaintext password encoding in test environment.
That speeds up tests alot.
2019-11-08 21:15:21 +01:00

12 lines
No EOL
288 B
YAML

# config/packages/test/security.yaml
security:
# Disable password hashing during testing. This speeds up tests a lot
encoders:
App\Entity\UserSystem\User:
algorithm: plaintext
firewalls:
# replace 'main' by the name of your own firewall
main:
http_basic: ~