Skip to content

Commit 9daf73b

Browse files
NRL-1050 Fix integration tests
1 parent dd89e49 commit 9daf73b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/features/producer/createDocumentReference-failure.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Feature: Producer - createDocumentReference - Failure Scenarios
267267
| property | value |
268268
| subject | 9999999999 |
269269
| status | current |
270-
| type | 1363501000000100 |
270+
| type | 887701000000100 |
271271
| category | 734163000 |
272272
| custodian | ANGY1 |
273273
| author | HAR1 |
@@ -316,13 +316,13 @@ Feature: Producer - createDocumentReference - Failure Scenarios
316316
"""
317317
{
318318
"severity": "error",
319-
"code": "invalid",
319+
"code": "value",
320320
"details": {
321321
"coding": [
322322
{
323323
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
324-
"code": "BAD_REQUEST",
325-
"display": "Bad request"
324+
"code": "INVALID_RESOURCE",
325+
"display": "Invalid validation of resource"
326326
}
327327
]
328328
},

tests/features/producer/upsertDocumentReference-failure.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Feature: Producer - upsertDocumentReference - Failure Scenarios
2222
"""
2323
{
2424
"severity": "error",
25-
"code": "invalid",
25+
"code": "value",
2626
"details": {
2727
"coding": [
2828
{
2929
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
30-
"code": "BAD_REQUEST",
31-
"display": "Bad request"
30+
"code": "INVALID_RESOURCE",
31+
"display": "Invalid validation of resource"
3232
}
3333
]
3434
},

0 commit comments

Comments
 (0)