Fix breaking SimpleWorkerContextTests

This commit is contained in:
dotasek 2022-02-25 15:36:04 -05:00
parent a5060d9475
commit 6975397675
1 changed files with 2 additions and 0 deletions

View File

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