This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3481761e7 FINERACT-2081: Make MeterRegistry optional
3481761e7 is described below

commit 3481761e74cfce14cbdfef5f5930996e3f6acb1a
Author: Adam Saghy <[email protected]>
AuthorDate: Fri Jan 10 16:16:18 2025 +0100

    FINERACT-2081: Make MeterRegistry optional
---
 .../infrastructure/core/DataSourcePerTenantServiceFactoryTest.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/DataSourcePerTenantServiceFactoryTest.java
 
b/fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/DataSourcePerTenantServiceFactoryTest.java
index 546bc541a..0ad58e0ae 100644
--- 
a/fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/DataSourcePerTenantServiceFactoryTest.java
+++ 
b/fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/DataSourcePerTenantServiceFactoryTest.java
@@ -29,9 +29,11 @@ import static org.mockito.Mockito.verify;
 
 import com.zaxxer.hikari.HikariConfig;
 import com.zaxxer.hikari.HikariDataSource;
+import io.micrometer.core.instrument.MeterRegistry;
 import java.sql.Connection;
 import java.sql.DatabaseMetaData;
 import java.sql.SQLException;
+import java.util.Optional;
 import java.util.Properties;
 import javax.sql.DataSource;
 import org.apache.fineract.infrastructure.core.config.FineractProperties;
@@ -113,6 +115,9 @@ public class DataSourcePerTenantServiceFactoryTest {
     @Mock
     private DatabasePasswordEncryptor databasePasswordEncryptor;
 
+    @Mock
+    private Optional<MeterRegistry> meterRegistry;
+
     @InjectMocks
     private DataSourcePerTenantServiceFactory underTest;
 

Reply via email to