mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Rename template_content to content
`template_content` is a template that hasn't had its placeholders filled in whereas content is where it would have (which is what has happened above)
This commit is contained in:
@@ -35,7 +35,7 @@ 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'] == 'This is a test'
|
||||
assert response['content'] == 'This is a test'
|
||||
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