Skip to content

Commit

Permalink
fix(mails): fix unit test contact support
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Oct 30, 2023
1 parent 563b1ec commit 01b432f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ describe("guideUtilisateurEmailRenderer", () => {
const { subject, text, html } =
await contactSupportEmailRenderer.renderTemplate(model);

expect(subject).toEqual(`[DOMIFA] Nouveau message sur le support`);
expect(subject).toEqual(
`[DOMIFA] Nouveau message sur le support - Asso des bois bleus`
);
expect(text).toContain(model.email);
expect(text).toContain(model.name);
expect(text).toContain(model.content);
Expand Down

0 comments on commit 01b432f

Please sign in to comment.