mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
Add a test for sending email to provider
We had a test like this for sending sms, but not email. This meant that, for example, we weren’t checking that the provider was getting passed the HTML and plain text versions of the email.
This commit is contained in:
@@ -223,7 +223,7 @@ def sample_email_template_with_placeholders(notify_db, notify_db_session):
|
||||
return sample_email_template(
|
||||
notify_db,
|
||||
notify_db_session,
|
||||
content="Hello ((name))",
|
||||
content="Hello ((name))\nThis is an email from GOV.UK",
|
||||
subject_line="((name))")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user