Require 'postage' key when sending a pdf letter

This commit is contained in:
David McDonald
2019-10-24 16:11:56 +01:00
parent 8794f770b9
commit 7f708153d2
3 changed files with 34 additions and 8 deletions

View File

@@ -2282,7 +2282,8 @@ def test_create_pdf_letter(mocker, sample_service_full_permissions, client, fake
data = json.dumps({
'filename': 'valid.pdf',
'created_by': str(user.id),
'file_id': fake_uuid
'file_id': fake_uuid,
'postage': 'second'
})
response = client.post(