FINERACT-2181: Use daily as recalculation rule in tests

This commit is contained in:
Adam Saghy
2025-04-16 15:12:39 +02:00
parent 1f76a8aeb2
commit 6455311f6c
@@ -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);