From e66fcc85fc983ff692073be0397eb0a478a6dccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 8 Nov 2019 21:15:21 +0100 Subject: [PATCH] Use plaintext password encoding in test environment. That speeds up tests alot. --- config/packages/test/security.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/packages/test/security.yaml b/config/packages/test/security.yaml index edddd4d8..d21bd6dd 100644 --- a/config/packages/test/security.yaml +++ b/config/packages/test/security.yaml @@ -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: