Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog/7973-fix-user-invite-email-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type: Fixed
description: Fixed test assertion for user invite email template after HTML escaping update in PR 7957
pr: 7973
labels: []
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ def test_email_dispatch_user_invite_email(
),
)

body = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <title>Welcome to Fides</title>\n </head>\n <body>\n <main>\n <p>You\'ve been invited to join Fides, <a href=http://localhost:3000/login?invite_code=123&username=test>accept the invite</a> and setup your account.</p>\n </main>\n </body>\n</html>'
body = '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <title>Welcome to Fides</title>\n </head>\n <body>\n <main>\n <p>You\'ve been invited to join Fides, <a href="http://localhost:3000/login?invite_code=123&amp;username=test">accept the invite</a> and setup your account.</p>\n </main>\n </body>\n</html>'

mock_mailgun_dispatcher.assert_called_with(
messaging_config,
Expand Down
Loading