Fix tests to previous changes.

This commit is contained in:
elweyn 2023-05-19 15:32:15 +02:00
parent b4a50dbcda
commit 39fde59e59

View File

@ -95,8 +95,8 @@ describe('sendEmailTranslated', () => {
to: 'receiver@mail.org',
cc: 'support@gradido.net',
from: 'Gradido (emails.general.doNotAnswer) <info@gradido.net>',
attachments: [],
subject: 'Gradido: Try To Register Again With Your Email',
attachments: expect.any(Array),
subject: 'Try To Register Again With Your Email',
html: expect.stringContaining('Try To Register Again With Your Email'),
text: expect.stringContaining('TRY TO REGISTER AGAIN WITH YOUR EMAIL'),
}),
@ -143,8 +143,8 @@ describe('sendEmailTranslated', () => {
to: CONFIG.EMAIL_TEST_RECEIVER,
cc: 'support@gradido.net',
from: `Gradido (emails.general.doNotAnswer) <${CONFIG.EMAIL_SENDER}>`,
attachments: [],
subject: 'Gradido: Try To Register Again With Your Email',
attachments: expect.any(Array),
subject: 'Try To Register Again With Your Email',
html: expect.stringContaining('Try To Register Again With Your Email'),
text: expect.stringContaining('TRY TO REGISTER AGAIN WITH YOUR EMAIL'),
}),