Revert "[#FINERACT-2422] standardize use of aging vs. ageing (#5289)"
This reverts commit 61034e6041.
This commit is contained in:
committed by
Adam Saghy
parent
f0692a8cf1
commit
ed32c133cc
+7
-7
@@ -128,7 +128,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
fromDate, dueDate, principal, zeroAmount, zeroAmount, zeroAmount, false, new HashSet<>(), zeroAmount));
|
||||
|
||||
// when
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loan.getCurrency()).thenReturn(currency);
|
||||
@@ -154,7 +154,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
fromDate, dueDate, principal, zeroAmount, zeroAmount, zeroAmount, false, new HashSet<>(), zeroAmount));
|
||||
|
||||
// when
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loanTransactionReadService.fetchLoanTransactionsByType(loan.getId(), null, LoanTransactionType.CHARGEBACK))
|
||||
@@ -195,7 +195,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
List<LoanRepaymentScheduleInstallment> repaymentScheduleInstallments = Arrays.asList(installment);
|
||||
|
||||
// when
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loan.getCurrency()).thenReturn(currency);
|
||||
@@ -224,7 +224,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
List<LoanRepaymentScheduleInstallment> repaymentScheduleInstallments = Arrays.asList(installment);
|
||||
|
||||
// when
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loanTransactionReadService.fetchLoanTransactionsByType(loan.getId(), null, LoanTransactionType.CHARGEBACK))
|
||||
@@ -278,7 +278,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
|
||||
List<LoanRepaymentScheduleInstallment> repaymentScheduleInstallments = Arrays.asList(installment);
|
||||
// when
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loan.isEnableInstallmentLevelDelinquency()).thenReturn(true);
|
||||
@@ -329,7 +329,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
List<LoanRepaymentScheduleInstallment> repaymentScheduleInstallments = Arrays.asList(installmentOne, installmentTwo,
|
||||
installmentThree);
|
||||
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(loanProductRelatedDetail.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(loan.getLoanProductRelatedDetail()).thenReturn(loanProductRelatedDetail);
|
||||
when(loan.getRepaymentScheduleInstallments()).thenReturn(repaymentScheduleInstallments);
|
||||
when(loanTransactionReadService.fetchLoanTransactionsByType(loan.getId(), null, LoanTransactionType.CHARGEBACK))
|
||||
@@ -385,7 +385,7 @@ public class LoanDelinquencyDomainServiceTest {
|
||||
|
||||
when(localLoan.getId()).thenReturn(42L);
|
||||
when(localLoan.getLoanProductRelatedDetail()).thenReturn(localDetails);
|
||||
when(localDetails.getGraceOnArrearsAging()).thenReturn(0);
|
||||
when(localDetails.getGraceOnArrearsAgeing()).thenReturn(0);
|
||||
when(localLoan.getRepaymentScheduleInstallments()).thenReturn(installments);
|
||||
when(localLoan.getLastLoanRepaymentScheduleInstallment()).thenReturn(installmentThree);
|
||||
when(localLoan.getCurrency()).thenReturn(currency);
|
||||
|
||||
Reference in New Issue
Block a user