From b4a50dbcda016224e2dae919c89391e38bb827a3 Mon Sep 17 00:00:00 2001 From: elweyn Date: Fri, 19 May 2023 15:20:19 +0200 Subject: [PATCH] Fix tests to the changes that were made. --- .../sendEmailVariants.test.ts.snap | 348 +++++------------- backend/src/emails/sendEmailVariants.test.ts | 36 +- 2 files changed, 111 insertions(+), 273 deletions(-) diff --git a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap index dfcddcec2..5a443b2bf 100644 --- a/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap +++ b/backend/src/emails/__snapshots__/sendEmailVariants.test.ts.snap @@ -4,7 +4,7 @@ exports[`sendEmailVariants sendAccountActivationEmail result has the correct htm " - + - +
-
\\"Gradido
+
\\"Gradido
-

Email Verification

+

Email Verification

Hello Peter Lustig,

Your email address has just been registered with Gradido.

-
-

Complete registration

-
Please click here to complete the registration and activate your Gradido account.
Activate account -
Or copy the link into your browser window.
http://localhost/checkEmail/6627633878930542284


+
+

Complete registration

+
Please click here to complete the registration and activate your Gradido account.
Activate account +
Or copy the link into your browser window.
http://localhost/checkEmail/6627633878930542284 -

Request new valid link

-
The link has a validity of 23 hours and 30 minutes. -If the validity of the link has already expired, you can have a new link sent to you here.
New link +

Request new valid link

+
The link has a validity of 23 hours and 30 minutes. +If the validity of the link has already expired, you can have a new link sent to you here.
New link
@@ -157,25 +157,7 @@ If the validity of the link has already expired, you can have a new link sent to