From d5fbdaf2e48f43d69f22dc777e9c91947ac75af3 Mon Sep 17 00:00:00 2001 From: Etienne Poirier <33007955+epeartree@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:10:59 -0400 Subject: [PATCH] Reverting to core fhir-test-cases 1.1.14; (#6194) re-enabling FhirPatchCoreTest Co-authored-by: peartree --- .../test/java/ca/uhn/fhir/jpa/patch/FhirPatchCoreTest.java | 5 ----- pom.xml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/patch/FhirPatchCoreTest.java b/hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/patch/FhirPatchCoreTest.java index 6ae7b5d0bc4..c18fc377bd4 100644 --- a/hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/patch/FhirPatchCoreTest.java +++ b/hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/patch/FhirPatchCoreTest.java @@ -6,7 +6,6 @@ import ca.uhn.fhir.util.ClasspathUtil; import ca.uhn.fhir.util.XmlUtil; import jakarta.annotation.Nonnull; import org.hl7.fhir.instance.model.api.IBaseResource; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import org.slf4j.Logger; @@ -25,7 +24,6 @@ import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; -@Disabled public class FhirPatchCoreTest extends BaseTest { private static final Logger ourLog = LoggerFactory.getLogger(FhirPatchCoreTest.class); @@ -52,12 +50,9 @@ public class FhirPatchCoreTest extends BaseTest { public static List parameters() throws TransformerException, SAXException, IOException { String testSpecR4 = "/org/hl7/fhir/testcases/r4/patch/fhir-path-tests.xml"; - // the above file is missing an section on line 1413 due to a processing error during file generation - // as per the error statement found in the file. Collection retValR4 = loadTestSpec(FhirContext.forR4Cached(), testSpecR4); String testSpecR5 = "/org/hl7/fhir/testcases/r5/patch/fhir-path-tests.xml"; - // The above file his missing xml closing tag '/>' on line 241 and 245 Collection retValR5 = loadTestSpec(FhirContext.forR5Cached(), testSpecR5); ArrayList retVal = new ArrayList<>(); diff --git a/pom.xml b/pom.xml index d8947cbba89..a808fb900b4 100644 --- a/pom.xml +++ b/pom.xml @@ -1306,7 +1306,7 @@ org.hl7.fhir.testcases fhir-test-cases - 1.5.15 + 1.1.14 org.jdom