Skip to content

Commit c0fac58

Browse files
committed
NRL-1472 update error diagnostics in affected integration test scenarios
1 parent d55641e commit c0fac58

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/features/producer/createDocumentReference-failure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ Feature: Producer - createDocumentReference - Failure Scenarios
840840
}
841841
]
842842
},
843-
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf' or 'text/html'",
843+
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf', 'text/html' or 'application/fhir+json'",
844844
"expression": [
845845
"content[0].attachment.contentType"
846846
]

tests/features/producer/updateDocumentReference-failure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Feature: Producer - updateDocumentReference - Failure Scenarios
229229
}
230230
]
231231
},
232-
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf' or 'text/html'",
232+
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf', 'text/html' or 'application/fhir+json'",
233233
"expression": [
234234
"content[0].attachment.contentType"
235235
]

tests/features/producer/upsertDocumentReference-failure.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Feature: Producer - upsertDocumentReference - Failure Scenarios
362362
}
363363
]
364364
},
365-
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf' or 'text/html'",
365+
"diagnostics": "Invalid contentType: application/invalid. Must be 'application/pdf', 'text/html' or 'application/fhir+json'",
366366
"expression": [
367367
"content[0].attachment.contentType"
368368
]

0 commit comments

Comments
 (0)