Skip to content

Commit d69f716

Browse files
NRL-1050 Fix integration tests
1 parent 49a7e6e commit d69f716

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
@@ -341,7 +341,7 @@ Feature: Producer - createDocumentReference - Failure Scenarios
341341
| property | value |
342342
| subject | 9999999999 |
343343
| status | current |
344-
| type | 1363501000000100 |
344+
| type | 887701000000100 |
345345
| category | 734163000 |
346346
| custodian | ANGY1 |
347347
| author | HAR1 |
@@ -390,13 +390,13 @@ Feature: Producer - createDocumentReference - Failure Scenarios
390390
"""
391391
{
392392
"severity": "error",
393-
"code": "invalid",
393+
"code": "value",
394394
"details": {
395395
"coding": [
396396
{
397397
"system": "https://fhir.nhs.uk/ValueSet/Spine-ErrorOrWarningCode-1",
398-
"code": "BAD_REQUEST",
399-
"display": "Bad request"
398+
"code": "INVALID_RESOURCE",
399+
"display": "Invalid validation of resource"
400400
}
401401
]
402402
},

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)