From 3afc8c65c36419994eb8cdecc717fddfd15dc3e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus-Peter=20H=C3=BCbner?= Date: Mon, 19 Sep 2022 17:47:46 +0200 Subject: [PATCH] change in one testcase mail.to to CONFIG.EMAIL_TEST_RECEIVER --- backend/src/mailer/sendEMail.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/mailer/sendEMail.test.ts b/backend/src/mailer/sendEMail.test.ts index 5746f1ead..a6f4bb62a 100644 --- a/backend/src/mailer/sendEMail.test.ts +++ b/backend/src/mailer/sendEMail.test.ts @@ -73,7 +73,7 @@ describe('sendEMail', () => { it('calls sendMail of transporter', () => { expect((createTransport as jest.Mock).mock.results[0].value.sendMail).toBeCalledWith({ from: `Gradido (nicht antworten) <${CONFIG.EMAIL_SENDER}>`, - to: 'receiver@mail.org', + to: `${CONFIG.EMAIL_TEST_RECEIVER}`, cc: 'support@gradido.net', subject: 'Subject', text: 'Text text text',