Use create_template instead of sample_template in sample_notification

This commit is contained in:
Pea Tyczynska
2018-12-31 16:14:09 +00:00
parent 154257027f
commit cde30de100
4 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ def test_get_all_notifications(client, sample_notification):
assert notifications['notifications'][0]['to'] == '+447700900855'
assert notifications['notifications'][0]['service'] == str(sample_notification.service_id)
assert notifications['notifications'][0]['body'] == "This is a template:\nwith a newline"
assert notifications['notifications'][0]['body'] == 'Dear Sir/Madam, Hello. Yours Truly, The Government.'
def test_normal_api_key_returns_notifications_created_from_jobs_and_from_api(