From 0c2ff31f909a19ba22a18925926409b67236c8b9 Mon Sep 17 00:00:00 2001 From: smandyam_uhg Date: Sat, 7 Sep 2024 12:14:17 +0530 Subject: [PATCH] pass arg of type Filter class --- .../ingest/source/ListIngestionSourceResolverTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/datahub-graphql-core/src/test/java/com/linkedin/datahub/graphql/resolvers/ingest/source/ListIngestionSourceResolverTest.java b/datahub-graphql-core/src/test/java/com/linkedin/datahub/graphql/resolvers/ingest/source/ListIngestionSourceResolverTest.java index a6719c564e4b20..ec4253e7f04686 100644 --- a/datahub-graphql-core/src/test/java/com/linkedin/datahub/graphql/resolvers/ingest/source/ListIngestionSourceResolverTest.java +++ b/datahub-graphql-core/src/test/java/com/linkedin/datahub/graphql/resolvers/ingest/source/ListIngestionSourceResolverTest.java @@ -17,6 +17,7 @@ import com.linkedin.ingestion.DataHubIngestionSourceInfo; import com.linkedin.metadata.Constants; import com.linkedin.metadata.key.DataHubIngestionSourceKey; +import com.linkedin.metadata.query.filter.Filter; import com.linkedin.metadata.search.SearchEntity; import com.linkedin.metadata.search.SearchEntityArray; import com.linkedin.metadata.search.SearchResult; @@ -46,7 +47,7 @@ public void testGetSuccess() throws Exception { any(), Mockito.eq(Constants.INGESTION_SOURCE_ENTITY_NAME), Mockito.eq(""), - Mockito.anyMap(), + Mockito.isNull(), Mockito.any(), Mockito.eq(0), Mockito.eq(20))) @@ -119,7 +120,7 @@ public void testGetUnauthorized() throws Exception { any(), Mockito.any(), Mockito.eq(""), - Mockito.anyMap(), + Mockito.isNull(), Mockito.anyList(), Mockito.anyInt(), Mockito.anyInt());