From ecd62b6feb8247b168a4062f2f08b781437b82d8 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 14 Nov 2023 06:43:29 +1100 Subject: [PATCH] fix FHIRPath cda tests for empty package cache --- .../src/test/java/org/hl7/fhir/r5/test/FHIRPathTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/FHIRPathTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/FHIRPathTests.java index 3e15b4e50..3bb463684 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/FHIRPathTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/FHIRPathTests.java @@ -110,9 +110,9 @@ public class FHIRPathTests { public static void setUp() throws FileNotFoundException, FHIRException, IOException { if (!TestingUtilities.getSharedWorkerContext().hasPackage("hl7.cda.us.ccda", null)) { FilesystemPackageCacheManager pcm = new FilesystemPackageCacheManager(true); - NpmPackage npm = pcm.loadPackage("hl7.cda.uv.core"); + NpmPackage npm = pcm.loadPackage("hl7.cda.uv.core", "2.0.0"); TestingUtilities.getSharedWorkerContext().loadFromPackage(npm, null); - npm = pcm.loadPackage("hl7.cda.us.ccda"); + npm = pcm.loadPackage("hl7.cda.us.ccda", "current"); TestingUtilities.getSharedWorkerContext().loadFromPackage(npm, null); } if (fp == null) {