mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 14:08:47 -04:00
Bump utils to improve plain text email formatting
Brings in: - [x] https://github.com/alphagov/notifications-utils/pull/438 - [x] https://github.com/alphagov/notifications-utils/pull/450 - [x] https://github.com/alphagov/notifications-utils/pull/454 Changes: - https://github.com/alphagov/notifications-utils/compare/25.3.0...26.2.0
This commit is contained in:
@@ -313,7 +313,7 @@ def test_post_email_notification_returns_201(client, sample_email_template_with_
|
||||
assert notification.reference is None
|
||||
assert notification.reply_to_text is None
|
||||
assert resp_json['content']['body'] == sample_email_template_with_placeholders.content \
|
||||
.replace('((name))', 'Bob').replace('GOV.UK', u'GOV.\u200bUK')
|
||||
.replace('((name))', 'Bob')
|
||||
assert resp_json['content']['subject'] == sample_email_template_with_placeholders.subject \
|
||||
.replace('((name))', 'Bob')
|
||||
assert resp_json['content']['from_email'] == "{}@{}".format(
|
||||
|
||||
Reference in New Issue
Block a user