fix FHIRPath cda tests for empty package cache

This commit is contained in:
Grahame Grieve 2023-11-14 06:43:29 +11:00
parent 618930e5bf
commit ecd62b6feb
1 changed files with 2 additions and 2 deletions

View File

@ -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) {