mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Create dict for the fields in the error response.
This commit is contained in:
@@ -103,4 +103,4 @@ def test_post_sms_notification_returns_400_and_for_schema_problems(notify_api, s
|
||||
assert error_resp['code'] == '1001'
|
||||
assert error_resp['message'] == 'Validation error occurred - POST v2/notifications/sms'
|
||||
assert error_resp['link'] == "link to error documentation (not yet implemented)"
|
||||
assert error_resp['fields'] == ["'template_id' is a required property"]
|
||||
assert error_resp['fields'] == [{"template_id": "is a required property"}]
|
||||
|
||||
Reference in New Issue
Block a user