Skip to content

Commit 162118f

Browse files
committed
NRL-523 update feature tests
1 parent 79cc8b4 commit 162118f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/features/producer/deleteDocumentReference-success.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ Feature: Producer - deleteDocumentReference - Success Scenarios
4848
| system | value |
4949
| http://snomed.info/sct | 736253002 |
5050
When producer 'DK94' requests to delete DocumentReference with id 'DK94-000-NoPointerHere'
51-
Then the response status code is 404
51+
Then the response status code is 200
5252
And the response is an OperationOutcome with 1 issue
5353
And the OperationOutcome contains the issue:
5454
"""
5555
{
56-
"severity": "error",
57-
"code": "not-found",
56+
"severity": "information",
57+
"code": "informational",
5858
"details": {
5959
"coding": [
6060
{
61-
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
62-
"code": "NO_RECORD_FOUND",
63-
"display": "No record found"
61+
"system": "https://fhir.nhs.uk/ValueSet/NRL-ResponseCode",
62+
"code": "RESOURCE_DELETED",
63+
"display": "Resource deleted"
6464
}
6565
]
6666
},

0 commit comments

Comments
 (0)