From 84352178088b8546893e941c6722c4177bbc1ca6 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 27 Jun 2016 15:02:53 +0100 Subject: [PATCH] Fix new test for the default status of a notification --- tests/app/notifications/test_rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/notifications/test_rest.py b/tests/app/notifications/test_rest.py index 6c23908bd..5759254b1 100644 --- a/tests/app/notifications/test_rest.py +++ b/tests/app/notifications/test_rest.py @@ -44,7 +44,8 @@ def test_get_email_notification_by_id(notify_api, notify_db, notify_db_session, email_notification = create_sample_notification(notify_db, notify_db_session, service=sample_email_template.service, - template=sample_email_template) + template=sample_email_template, + status='sending') with notify_api.test_request_context(): with notify_api.test_client() as client: