From d0fcded6a6287435fbec7e89316892f928501f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edin=20Rustempa=C5=A1i=C4=87?= Date: Tue, 2 Sep 2025 20:13:51 +0200 Subject: [PATCH] Fix incorrect security configuration structure in testing documentation Fixed the YAML configuration structure for defining in-memory users in the test environment. The previous configuration was missing the required providers key, which would result in a configuration error. --- testing.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testing.rst b/testing.rst index b0cb868b228..993e7878d46 100644 --- a/testing.rst +++ b/testing.rst @@ -735,10 +735,11 @@ configuration to ensure it exists and can be authenticated:: # config/packages/security.yaml when@test: security: - users_in_memory: - memory: - users: - admin: { password: password, roles: ROLE_ADMIN } + providers: + users_in_memory: + memory: + users: + admin: { password: password, roles: ROLE_ADMIN } To set a specific firewall (``main`` is set by default)::