persist created_by_id when using the one off notification endpoint

This commit is contained in:
Leo Hemsted
2017-06-16 16:30:03 +01:00
parent 729faf579d
commit a1e570dea7
5 changed files with 71 additions and 49 deletions

View File

@@ -2257,7 +2257,8 @@ def test_send_one_off_notification(admin_request, sample_template):
},
data={
'template_id': str(sample_template.id),
'to': '07700900001'
'to': '07700900001',
'created_by': str(sample_template.service.created_by_id)
},
expected_status=201
)