From 4dc5a62764d10fa629bb5de23524b95b61871424 Mon Sep 17 00:00:00 2001 From: Domenico Sibilio Date: Thu, 23 Jun 2022 12:43:33 +0200 Subject: [PATCH] ACS-3193 isNull(Class) has been removed --- .../java/org/alfresco/solr/tracker/MetadataTrackerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search-services/alfresco-search/src/test/java/org/alfresco/solr/tracker/MetadataTrackerTest.java b/search-services/alfresco-search/src/test/java/org/alfresco/solr/tracker/MetadataTrackerTest.java index 163e30bad..7fd11f320 100644 --- a/search-services/alfresco-search/src/test/java/org/alfresco/solr/tracker/MetadataTrackerTest.java +++ b/search-services/alfresco-search/src/test/java/org/alfresco/solr/tracker/MetadataTrackerTest.java @@ -114,7 +114,7 @@ public class MetadataTrackerTest // Subsequent calls to getTransactions must return a different set of transactions to avoid an infinite loop when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt())).thenReturn(txs) .thenReturn(txs).thenReturn(mock(Transactions.class)); - when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull(ShardState.class))).thenReturn(txs) + when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull())).thenReturn(txs) .thenReturn(txs).thenReturn(mock(Transactions.class)); when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), any(ShardState.class))).thenReturn(txs) .thenReturn(txs).thenReturn(mock(Transactions.class)); @@ -144,7 +144,7 @@ public class MetadataTrackerTest List txsList = new ArrayList<>(); when(txs.getTransactions()).thenReturn(txsList); - when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull(ShardState.class))).thenReturn(txs); + when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), isNull())).thenReturn(txs); when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt(), any(ShardState.class))).thenReturn(txs); when(repositoryClient.getTransactions(anyLong(), anyLong(), anyLong(), anyLong(), anyInt())).thenReturn(txs);