From fa422a85ef0e5e2fbdb3a994edc1db435bc6ef08 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Tue, 22 Nov 2016 13:25:10 +0000 Subject: [PATCH] Fix unit test failure --- tests/app/v2/notifications/test_post_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/v2/notifications/test_post_notifications.py b/tests/app/v2/notifications/test_post_notifications.py index e58e93dbf..a2d99fb64 100644 --- a/tests/app/v2/notifications/test_post_notifications.py +++ b/tests/app/v2/notifications/test_post_notifications.py @@ -29,7 +29,7 @@ def test_post_sms_notification_returns_201(notify_api, sample_template, mocker, notifications = Notification.query.all() assert len(notifications) == 1 notification_id = notifications[0].id - assert resp_json['id'] == notification_id + assert resp_json['id'] == str(notification_id) assert resp_json['reference'] == reference assert resp_json['content']['body'] == sample_template.content assert resp_json['content']['from_number'] == sample_template.service.sms_sender