mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
For the post_sms_response and post_email_response the reference property is always present but the value can be null.
Added a test for an empty reference. Remove datetime format on the created_at attribute of a notification, it is not needed.
This commit is contained in:
@@ -47,7 +47,7 @@ post_sms_response = {
|
||||
"title": "response v2/notifications/sms",
|
||||
"properties": {
|
||||
"id": uuid,
|
||||
"reference": {"type": "string"},
|
||||
"reference": {"type": ["string", "null"]},
|
||||
"content": sms_content,
|
||||
"uri": {"type": "string"},
|
||||
"template": template
|
||||
@@ -90,7 +90,7 @@ post_email_response = {
|
||||
"title": "response v2/notifications/email",
|
||||
"properties": {
|
||||
"id": uuid,
|
||||
"reference": {"type": "string"},
|
||||
"reference": {"type": ["string", "null"]},
|
||||
"content": email_content,
|
||||
"uri": {"type": "string"},
|
||||
"template": template
|
||||
|
||||
Reference in New Issue
Block a user