Skip to content

Commit d55641e

Browse files
committed
NRL-1472 include new format and content type in parameterised tests
1 parent 6ae0797 commit d55641e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layer/nrlf/core/tests/test_validators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,8 @@ def test_validate_content_format_invalid_code_for_structured_document():
11611161
validator = DocumentReferenceValidator()
11621162
document_ref_data = load_document_reference_json("Y05868-736253002-Valid")
11631163

1164+
document_ref_data["content"][0]["attachment"]["contentType"] = "application/json"
1165+
11641166
document_ref_data["content"][0]["format"] = {
11651167
"system": "https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
11661168
"code": "urn:nhs-ic:record-contact",

0 commit comments

Comments
 (0)