Reverting to core fhir-test-cases 1.1.14; (#6194)

re-enabling FhirPatchCoreTest

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
This commit is contained in:
Etienne Poirier 2024-08-07 09:10:59 -04:00 committed by GitHub
parent 016d859f3c
commit d5fbdaf2e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -6,7 +6,6 @@ import ca.uhn.fhir.util.ClasspathUtil;
import ca.uhn.fhir.util.XmlUtil; import ca.uhn.fhir.util.XmlUtil;
import jakarta.annotation.Nonnull; import jakarta.annotation.Nonnull;
import org.hl7.fhir.instance.model.api.IBaseResource; 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.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.MethodSource;
import org.slf4j.Logger; 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.assertEquals;
import static org.junit.jupiter.api.Assertions.fail; import static org.junit.jupiter.api.Assertions.fail;
@Disabled
public class FhirPatchCoreTest extends BaseTest { public class FhirPatchCoreTest extends BaseTest {
private static final Logger ourLog = LoggerFactory.getLogger(FhirPatchCoreTest.class); private static final Logger ourLog = LoggerFactory.getLogger(FhirPatchCoreTest.class);
@ -52,12 +50,9 @@ public class FhirPatchCoreTest extends BaseTest {
public static List<Object[]> parameters() throws TransformerException, SAXException, IOException { public static List<Object[]> parameters() throws TransformerException, SAXException, IOException {
String testSpecR4 = "/org/hl7/fhir/testcases/r4/patch/fhir-path-tests.xml"; String testSpecR4 = "/org/hl7/fhir/testcases/r4/patch/fhir-path-tests.xml";
// the above file is missing an <output></output> section on line 1413 due to a processing error during file generation
// as per the error statement found in the file.
Collection<Object[]> retValR4 = loadTestSpec(FhirContext.forR4Cached(), testSpecR4); Collection<Object[]> retValR4 = loadTestSpec(FhirContext.forR4Cached(), testSpecR4);
String testSpecR5 = "/org/hl7/fhir/testcases/r5/patch/fhir-path-tests.xml"; 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<Object[]> retValR5 = loadTestSpec(FhirContext.forR5Cached(), testSpecR5); Collection<Object[]> retValR5 = loadTestSpec(FhirContext.forR5Cached(), testSpecR5);
ArrayList<Object[]> retVal = new ArrayList<>(); ArrayList<Object[]> retVal = new ArrayList<>();

View File

@ -1306,7 +1306,7 @@
<dependency> <dependency>
<groupId>org.hl7.fhir.testcases</groupId> <groupId>org.hl7.fhir.testcases</groupId>
<artifactId>fhir-test-cases</artifactId> <artifactId>fhir-test-cases</artifactId>
<version>1.5.15</version> <version>1.1.14</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jdom</groupId> <groupId>org.jdom</groupId>