mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Update get_template_by_id_response & post_template_preview_response schemas
To check the format of postage. Neither of these two schemas are used for validating - they seem to be added for reference.
This commit is contained in:
@@ -35,6 +35,7 @@ valid_json_get_response_with_optionals = {
|
||||
'body': 'some body',
|
||||
'subject': "some subject",
|
||||
'name': 'some name',
|
||||
'postage': 'first',
|
||||
}
|
||||
|
||||
valid_request_args = [{"id": str(uuid.uuid4()), "version": 1}, {"id": str(uuid.uuid4())}]
|
||||
@@ -80,6 +81,7 @@ valid_json_post_response_with_optionals = {
|
||||
'version': 1,
|
||||
'body': "some body",
|
||||
'subject': 'some subject',
|
||||
'postage': 'second',
|
||||
'html': '<p>some body</p>',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user