mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Serialise content in broadcast message response
This will let us show the content of the broadcast message in places we can’t at the moment.
This commit is contained in:
@@ -24,6 +24,8 @@ def test_get_broadcast_message(admin_request, sample_broadcast_service):
|
||||
)
|
||||
|
||||
assert response['id'] == str(bm.id)
|
||||
assert response['template_id'] == str(t.id)
|
||||
assert response['template_content'] == t.content
|
||||
assert response['template_name'] == t.name
|
||||
assert response['status'] == BroadcastStatusType.DRAFT
|
||||
assert response['created_at'] is not None
|
||||
|
||||
Reference in New Issue
Block a user