mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Fix unit test failure
This commit is contained in:
@@ -29,7 +29,7 @@ def test_post_sms_notification_returns_201(notify_api, sample_template, mocker,
|
|||||||
notifications = Notification.query.all()
|
notifications = Notification.query.all()
|
||||||
assert len(notifications) == 1
|
assert len(notifications) == 1
|
||||||
notification_id = notifications[0].id
|
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['reference'] == reference
|
||||||
assert resp_json['content']['body'] == sample_template.content
|
assert resp_json['content']['body'] == sample_template.content
|
||||||
assert resp_json['content']['from_number'] == sample_template.service.sms_sender
|
assert resp_json['content']['from_number'] == sample_template.service.sms_sender
|
||||||
|
|||||||
Reference in New Issue
Block a user