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:
Chris Hill-Scott
2020-10-08 11:39:17 +01:00
parent 80352bafe1
commit 57473ef65d
2 changed files with 2 additions and 2 deletions

View File

@@ -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