FINERACT-2181: Installment amount in multiples of should be inherited from loan product to loan level
This commit is contained in:
committed by
Adam Saghy
parent
95a8231b18
commit
39a8d5c63e
+1
-1
@@ -160,6 +160,7 @@ public class LoanDownPaymentHandlerServiceImplTest {
|
||||
when(downPaymentMoney.getCurrencyCode()).thenReturn(loanCurrency.getCode());
|
||||
when(overPaymentPortionMoney.getCurrencyCode()).thenReturn(loanCurrency.getCode());
|
||||
|
||||
when(loanRepaymentRelatedDetail.getInstallmentAmountInMultiplesOf()).thenReturn(10);
|
||||
when(loanForProcessing.getLoanRepaymentScheduleDetail()).thenReturn(loanRepaymentRelatedDetail);
|
||||
when(loanForProcessing.repaymentScheduleDetail()).thenReturn(loanRepaymentRelatedDetail);
|
||||
when(loanRepaymentRelatedDetail.isInterestRecalculationEnabled()).thenReturn(true);
|
||||
@@ -168,7 +169,6 @@ public class LoanDownPaymentHandlerServiceImplTest {
|
||||
when(loanForProcessing.getCurrency()).thenReturn(loanCurrency);
|
||||
when(loanForProcessing.loanCurrency()).thenReturn(loanCurrency);
|
||||
when(loanForProcessing.getLoanProduct()).thenReturn(loanProduct);
|
||||
when(loanProduct.getInstallmentAmountInMultiplesOf()).thenReturn(10);
|
||||
when(loanForProcessing.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loanTransactionProcessingService.reprocessLoanTransactions(any(), any(), any(), any(), any(), any()))
|
||||
.thenReturn(changedTransactionDetail);
|
||||
|
||||
Reference in New Issue
Block a user