Skip to content

Commit d50ae24

Browse files
committed
NRL-786 fix error message
1 parent 7be7738 commit d50ae24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/features/producer/createDocumentReference-failure.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -944,19 +944,19 @@ Feature: Producer - createDocumentReference - Failure Scenarios
944944
"""
945945
{
946946
"severity": "error",
947-
"code": "value",
947+
"code": "invalid",
948948
"details": {
949949
"coding": [
950950
{
951951
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
952-
"code": "INVALID_RESOURCE",
953-
"display": "Invalid validation of resource"
952+
"code": "MESSAGE_NOT_WELL_FORMED",
953+
"display": "Message not well formed"
954954
}
955955
]
956956
},
957-
"diagnostics": "Invalid content format code: urn:nhs-ic:unstructured format code must be 'urn:nhs-ic:record-contact' for Contact details attachments.",
957+
"diagnostics": "Request body could not be parsed (content[0].extra_field: Extra inputs are not permitted)",
958958
"expression": [
959-
"content[0].format.code"
959+
"content[0].extra_field"
960960
]
961961
}
962962
"""

0 commit comments

Comments
 (0)