From aea8621bb1d5e9c73b85ab3e3303310618c1c042 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Mon, 18 Nov 2024 06:04:16 +1100 Subject: [PATCH] fix error in test --- .../org/hl7/fhir/validation/tests/ValidationEngineTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationEngineTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationEngineTests.java index 4d7dc537b..68c22b186 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationEngineTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationEngineTests.java @@ -11,6 +11,7 @@ import org.hl7.fhir.r5.model.OperationOutcome; import org.hl7.fhir.r5.model.OperationOutcome.IssueSeverity; import org.hl7.fhir.r5.model.OperationOutcome.OperationOutcomeIssueComponent; import org.hl7.fhir.r5.test.utils.TestingUtilities; +import org.hl7.fhir.r5.utils.OperationOutcomeUtilities; import org.hl7.fhir.utilities.CommaSeparatedStringBuilder; import org.hl7.fhir.utilities.FhirPublication; import org.hl7.fhir.utilities.settings.FhirSettings; @@ -89,6 +90,7 @@ public class ValidationEngineTests { } catch (Exception e) { e.printStackTrace(); System.err.println("Thread " + index + " failed"); + outcomes[index] = OperationOutcomeUtilities.outcomeFromTextError(e.getMessage()); } }); t.start();