From 408a8674920b46ee6c38b585402432991e0fcca7 Mon Sep 17 00:00:00 2001
From: Zhibin Mai <ZMai@slb.com>
Date: Mon, 8 Aug 2022 08:10:18 -0500
Subject: [PATCH] Fix unit tests

---
 .../osdu/indexer/service/IndexerSchemaServiceTest.java         | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indexer-core/src/test/java/org/opengroup/osdu/indexer/service/IndexerSchemaServiceTest.java b/indexer-core/src/test/java/org/opengroup/osdu/indexer/service/IndexerSchemaServiceTest.java
index 8b1a7e0a2..86aa1a1c4 100644
--- a/indexer-core/src/test/java/org/opengroup/osdu/indexer/service/IndexerSchemaServiceTest.java
+++ b/indexer-core/src/test/java/org/opengroup/osdu/indexer/service/IndexerSchemaServiceTest.java
@@ -30,6 +30,7 @@ import org.opengroup.osdu.core.common.model.indexer.OperationType;
 import org.opengroup.osdu.core.common.search.ElasticIndexNameResolver;
 import org.opengroup.osdu.indexer.provider.interfaces.ISchemaCache;
 import org.opengroup.osdu.indexer.schema.converter.exeption.SchemaProcessingException;
+import org.opengroup.osdu.indexer.schema.converter.interfaces.IVirtualPropertiesSchemaCache;
 import org.opengroup.osdu.indexer.util.ElasticClientHandler;
 import org.powermock.core.classloader.annotations.PrepareForTest;
 import org.springframework.test.context.junit4.SpringRunner;
@@ -81,6 +82,8 @@ public class IndexerSchemaServiceTest {
     private SchemaService schemaService;
     @Mock
     private ISchemaCache schemaCache;
+    @Mock
+    private IVirtualPropertiesSchemaCache virtualPropertiesSchemaCache;
     @InjectMocks
     private IndexSchemaServiceImpl sut;
 
-- 
GitLab