Merge pull request #2843 from alphagov/update-postage-constraint-take-2

Update postage constraint (take 2)
This commit is contained in:
Katie Smith
2020-05-20 14:41:44 +01:00
committed by GitHub
7 changed files with 161 additions and 15 deletions

View File

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