Use plaintext password encoding in test environment.

That speeds up tests alot.
This commit is contained in:
Jan Böhmer 2019-11-08 21:15:21 +01:00
parent 56dbc96607
commit e66fcc85fc

View file

@ -1,5 +1,11 @@
# 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: