Skip to content

Commit

Permalink
Merge remote-tracking branch 'acryl/add-filtering-to-lists' into add-…
Browse files Browse the repository at this point in the history
…search-bar-to-lists
  • Loading branch information
jjoyce0510 committed May 16, 2022
2 parents 69aa70c + 9f117e7 commit 3d5b65f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void setupTest() throws Exception {
policySearchResult.setEntities(new SearchEntityArray(ImmutableList.of(new SearchEntity().setEntity(activePolicyUrn),
new SearchEntity().setEntity(inactivePolicyUrn))));

when(_entityClient.search(eq("dataHubPolicy"), eq("*"), isNull(), any(), anyInt(), anyInt(), any())).thenReturn(
when(_entityClient.search(eq("dataHubPolicy"), eq(""), isNull(), any(), anyInt(), anyInt(), any())).thenReturn(
policySearchResult);
when(_entityClient.batchGetV2(eq(POLICY_ENTITY_NAME),
eq(ImmutableSet.of(activePolicyUrn, inactivePolicyUrn)), eq(null), any())).thenReturn(
Expand Down Expand Up @@ -192,7 +192,7 @@ public void testInvalidateCache() throws Exception {
emptyResult.setNumEntities(0);
emptyResult.setEntities(new SearchEntityArray());

when(_entityClient.search(eq("dataHubPolicy"), eq("*"), isNull(), any(), anyInt(), anyInt(), any())).thenReturn(
when(_entityClient.search(eq("dataHubPolicy"), eq(""), isNull(), any(), anyInt(), anyInt(), any())).thenReturn(
emptyResult);
when(_entityClient.batchGetV2(eq(POLICY_ENTITY_NAME), eq(Collections.emptySet()), eq(null), any())).thenReturn(
Collections.emptyMap());
Expand Down

0 comments on commit 3d5b65f

Please sign in to comment.