Update JSON schema postage validation for new values

This commit is contained in:
Katie Smith
2020-06-08 13:45:22 +01:00
parent 6cd914b9d3
commit ab956c9eb3
4 changed files with 7 additions and 5 deletions

View File

@@ -2340,7 +2340,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.'}
]
)
])