Skip to content

Commit 6b32d99

Browse files
NRL-518 Fix integration tests expected without format
1 parent 9fc3515 commit 6b32d99

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

tests/features/consumer/readDocumentReference-success.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ Feature: Consumer - readDocumentReference - Success Scenarios
6969
"attachment": {
7070
"contentType": "application/pdf",
7171
"url": "https://example.org/my-doc.pdf"
72+
},
73+
"format": {
74+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
75+
"code": "urn:nhs-ic:unstructured",
76+
"display": "Unstructured document"
7277
}
7378
}
7479
],
@@ -155,6 +160,11 @@ Feature: Consumer - readDocumentReference - Success Scenarios
155160
"attachment": {
156161
"contentType": "application/pdf",
157162
"url": "https://example.org/my-doc.pdf"
163+
},
164+
"format": {
165+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
166+
"code": "urn:nhs-ic:unstructured",
167+
"display": "Unstructured document"
158168
}
159169
}
160170
],

tests/features/producer/readDocumentReference-success.feature

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ Feature: Producer - readDocumentReference - Success Scenarios
7171
"attachment": {
7272
"contentType": "application/pdf",
7373
"url": "https://example.org/my-doc.pdf"
74+
},
75+
"format": {
76+
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
77+
"code": "urn:nhs-ic:unstructured",
78+
"display": "Unstructured document"
7479
}
7580
}
7681
],

0 commit comments

Comments
 (0)