Update JSON schema postage validation for new values

This commit is contained in:
Katie Smith
2020-03-13 15:39:20 +00:00
parent 186670e10e
commit e2effb6ee1
3 changed files with 5 additions and 4 deletions

View File

@@ -2313,7 +2313,8 @@ def test_create_pdf_letter(mocker, sample_service_full_permissions, client, fake
{"postage": "third", "filename": "string", "created_by": "string", "file_id": "string",
"recipient_address": "Some Address"},
[
{'error': 'ValidationError', 'message': 'postage invalid. It must be either first or second.'}
{'error': 'ValidationError',
'message': 'postage invalid. It must be first, second, europe or rest-of-world.'}
]
)
])