File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
lambdas/tests/e2e/api/fhir Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -83,26 +83,6 @@ def test_unsupported_http_method_returns_fhir_error(http_method):
8383 )
8484
8585
86- # Commented this out for now as this will no longer retunr a 500 but now a 400
87- # invalid and I can't think of a way to get it to return a 500. Definietly something that needs to be tested though.
88- #
89- # def test_5xx_response_is_fhir_compliant(test_data):
90- # """Verify that a Lambda error returns a FHIR-compliant OperationOutcome via DEFAULT_5XX."""
91- #
92- # reversed_id = f"{str(uuid.uuid4())}~{pdm_data_helper.snomed_code}"
93- #
94- # response = get_pdm_document_reference(
95- # endpoint_override=reversed_id,
96- # )
97- #
98- # assert response.status_code == 500
99- # body = response.json()
100- # assert body["resourceType"] == "OperationOutcome"
101- # assert len(body["issue"]) > 0
102- # issue = body["issue"][0]
103- # assert issue["severity"] == "error"
104-
105-
10686def test_mtls_invalid_common_name ():
10787 record_id = str (uuid .uuid4 ())
10888 response = get_pdm_document_reference (
You can’t perform that action at this time.
0 commit comments