From 6975397675cfef4dad9efea2af7717bb6a7196cf Mon Sep 17 00:00:00 2001 From: dotasek Date: Fri, 25 Feb 2022 15:36:04 -0500 Subject: [PATCH] Fix breaking SimpleWorkerContextTests --- .../java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java index cd951de9e..78d5dfa4d 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/context/SimpleWorkerContextTests.java @@ -260,6 +260,7 @@ public class SimpleWorkerContextTests { ValueSet vs = new ValueSet(); vs.setStatus(Enumerations.PublicationStatus.ACTIVE); vs.setCompose(new ValueSet.ValueSetComposeComponent()); + vs.getCompose().setInactive(true); vs.getCompose().getInclude().add(inc); Mockito.doReturn(cacheToken).when(terminologyCache).generateExpandToken(argThat(new ValueSetMatcher(vs)),eq(true)); @@ -282,6 +283,7 @@ public class SimpleWorkerContextTests { ValueSet vs = new ValueSet(); vs.setStatus(Enumerations.PublicationStatus.ACTIVE); vs.setCompose(new ValueSet.ValueSetComposeComponent()); + vs.getCompose().setInactive(true); vs.getCompose().getInclude().add(inc); Mockito.doReturn(cacheToken).when(terminologyCache).generateExpandToken(argThat(new ValueSetMatcher(vs)),eq(true));