FINERACT-2181: Use daily as recalculation rule in tests
This commit is contained in:
+3
-2
@@ -942,8 +942,9 @@ public class ExternalBusinessEventTest extends BaseLoanIntegrationTest {
|
|||||||
externalEventHelper.enableBusinessEvent("LoanAdjustTransactionBusinessEvent");
|
externalEventHelper.enableBusinessEvent("LoanAdjustTransactionBusinessEvent");
|
||||||
AtomicReference<Long> loanIdRef = new AtomicReference<>();
|
AtomicReference<Long> loanIdRef = new AtomicReference<>();
|
||||||
runAt("15 January 2025", () -> {
|
runAt("15 January 2025", () -> {
|
||||||
PostLoanProductsResponse loanProductResponse = loanProductHelper
|
PostLoanProductsResponse loanProductResponse = loanProductHelper.createLoanProduct(create4IProgressive()
|
||||||
.createLoanProduct(create4IProgressive().isInterestRecalculationEnabled(true));
|
.isInterestRecalculationEnabled(true).recalculationRestFrequencyType(RecalculationRestFrequencyType.DAILY)
|
||||||
|
.recalculationRestFrequencyInterval(1));
|
||||||
|
|
||||||
Long loanId = applyAndApproveProgressiveLoan(client.getClientId(), loanProductResponse.getResourceId(), "15 January 2025",
|
Long loanId = applyAndApproveProgressiveLoan(client.getClientId(), loanProductResponse.getResourceId(), "15 January 2025",
|
||||||
430.0, 9.9, 4, null);
|
430.0, 9.9, 4, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user