@@ -48,8 +48,6 @@ Feature: Producer - createDocumentReference - Failure Scenarios
4848 }
4949 """
5050
51- # Invalid document reference - invalid NHS number
52- # Known to currently fail - Bug NRL-
5351 Scenario : Invalid NHS number (correct length but not valid)
5452 Given the application 'DataShare' (ID 'z00z-y11y-x22x' ) is registered to access the API
5553 And the organisation 'ANGY1' is authorised to access pointer types:
@@ -64,26 +62,27 @@ Feature: Producer - createDocumentReference - Failure Scenarios
6462 | custodian | ANGY1 |
6563 | author | HAR1 |
6664 | url | https ://example .org /my -doc .pdf |
67- Then the response status code is 400
68- And the response is an OperationOutcome with 1 issue
69- And the OperationOutcome contains the issue:
70- """
71- {
72- "severity": "error",
73- "code": "informational",
74- "details": {
75- "coding": [
76- {
77- "system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
78- "code": "BAD_REQUEST",
79- "display": "Bad request"
80- }
81- ]
82- },
83- "diagnostics": "Invalid NHS number"
84- }
85- """
65+ # NRL-765 known bug: this response is not handled properly, currently gives a 500
66+ # Then the response status code is 400
67+ Then the response is an OperationOutcome with 1 issue
8668
69+ # And the OperationOutcome contains the issue:
70+ # """
71+ # {
72+ # "severity": "error",
73+ # "code": "informational",
74+ # "details": {
75+ # "coding": [
76+ # {
77+ # "system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
78+ # "code": "BAD_REQUEST",
79+ # "display": "Bad request"
80+ # }
81+ # ]
82+ # },
83+ # "diagnostics": "Invalid NHS number"
84+ # }
85+ # """
8786# Invalid document reference - invalid producer ID
8887# Invalid document reference - invalid custodian ID
8988# Invalid document reference - invalid relatesTo target
0 commit comments