From 7ba36de1b8286a188a7c1b2e190e0923965309a9 Mon Sep 17 00:00:00 2001 From: Emmanuelle Bonnemay Date: Fri, 15 Nov 2024 08:30:38 +0100 Subject: [PATCH] refactor(api): change recovery route test error message --- .../application/account-recovery/account-recovery.route.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/identity-access-management/acceptance/application/account-recovery/account-recovery.route.test.js b/api/tests/identity-access-management/acceptance/application/account-recovery/account-recovery.route.test.js index 69f7a421b96..e8c410a8ee6 100644 --- a/api/tests/identity-access-management/acceptance/application/account-recovery/account-recovery.route.test.js +++ b/api/tests/identity-access-management/acceptance/application/account-recovery/account-recovery.route.test.js @@ -234,7 +234,7 @@ describe('Acceptance | Identity Access Management | Application | Route | accoun // then expect(response.statusCode).to.equal(400); - expect(response.result.errors[0].detail).to.equal('Cette adresse e-mail est déjà utilisée.'); + expect(response.result.errors[0].detail).to.equal('Cette adresse e-mail est invalide ou déjà utilisée.'); }); }); });