From 6981662f05c3dba27ad53afdb5ee96ba9be7268e Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Mon, 4 Nov 2024 11:38:53 +0100 Subject: [PATCH] Add missing encoder config for test env --- config/packages/_sylius.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/packages/_sylius.yaml b/config/packages/_sylius.yaml index 9fe59d2c91..d7a88b58f9 100644 --- a/config/packages/_sylius.yaml +++ b/config/packages/_sylius.yaml @@ -253,3 +253,9 @@ sylius_user: user: classes: model: App\Entity\User\UserOAuth + +when@test: &sylius_user_test + sylius_user: + encoder: plaintext + +when@test_cached: *sylius_user_test