mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix unit test
This commit is contained in:
parent
1c379e61b5
commit
21799c9950
@ -159,7 +159,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -287,7 +287,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -414,7 +414,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -541,7 +541,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -661,7 +661,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -785,7 +785,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -911,7 +911,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -1037,7 +1037,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
@ -1159,7 +1159,7 @@ describe('sendEmailVariants', () => {
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'If you have any further questions, please contact our support',
|
||||
)
|
||||
expect(result.originalMessage.html).toContain('support@supportmail.com')
|
||||
expect(result.originalMessage.html).toContain(CONFIG.COMMUNITY_SUPPORT_MAIL)
|
||||
expect(result.originalMessage.html).toContain(
|
||||
'src="https://gdd.gradido.net/img/brand/green.png"',
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user