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 6455311f6c FINERACT-2181: Use `daily` as recalculation rule in tests
6455311f6c is described below

commit 6455311f6c1426a9fb22bf93b2af46482883b114
Author: Adam Saghy <[email protected]>
AuthorDate: Wed Apr 16 00:29:27 2025 +0200

    FINERACT-2181: Use `daily` as recalculation rule in tests
---
 .../apache/fineract/integrationtests/ExternalBusinessEventTest.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/ExternalBusinessEventTest.java
 
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/ExternalBusinessEventTest.java
index 7baa0996e2..715ca3e936 100644
--- 
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/ExternalBusinessEventTest.java
+++ 
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/ExternalBusinessEventTest.java
@@ -942,8 +942,9 @@ public class ExternalBusinessEventTest extends 
BaseLoanIntegrationTest {
             
externalEventHelper.enableBusinessEvent("LoanAdjustTransactionBusinessEvent");
             AtomicReference<Long> loanIdRef = new AtomicReference<>();
             runAt("15 January 2025", () -> {
-                PostLoanProductsResponse loanProductResponse = 
loanProductHelper
-                        
.createLoanProduct(create4IProgressive().isInterestRecalculationEnabled(true));
+                PostLoanProductsResponse loanProductResponse = 
loanProductHelper.createLoanProduct(create4IProgressive()
+                        
.isInterestRecalculationEnabled(true).recalculationRestFrequencyType(RecalculationRestFrequencyType.DAILY)
+                        .recalculationRestFrequencyInterval(1));
 
                 Long loanId = 
applyAndApproveProgressiveLoan(client.getClientId(), 
loanProductResponse.getResourceId(), "15 January 2025",
                         430.0, 9.9, 4, null);

Reply via email to