mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Update JSON schema postage validation for new values
This commit is contained in:
@@ -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.'}
|
||||
]
|
||||
)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user