fix FHIRPath cda tests for empty package cache
This commit is contained in:
parent
618930e5bf
commit
ecd62b6feb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue