FINERACT-1785: Specified due date charges/fees cannot be applied on disbursement date
This commit is contained in:
committed by
Arnold Gálovics
parent
ab51b2a4cc
commit
dafd4c3436
+2
-2
@@ -218,10 +218,10 @@ public class LoanChargeSpecificDueDateTest {
|
||||
|
||||
// evaluate the outstanding
|
||||
getLoansLoanIdResponse = loanTransactionHelper.getLoan(requestSpec, responseSpec, loanId);
|
||||
validateLoanAccount(getLoansLoanIdResponse, Double.valueOf(principalAmount), Double.valueOf("10.00"), true);
|
||||
validateLoanAccount(getLoansLoanIdResponse, Double.valueOf(principalAmount), Double.valueOf("0.00"), true);
|
||||
|
||||
// Make a full repayment to close the Loan
|
||||
Float amount = Float.valueOf("1010.00");
|
||||
Float amount = Float.valueOf("1000.00");
|
||||
PostLoansLoanIdTransactionsResponse loanIdTransactionsResponse = loanTransactionHelper.makeLoanRepayment(operationDate, amount,
|
||||
loanId);
|
||||
assertNotNull(loanIdTransactionsResponse);
|
||||
|
||||
Reference in New Issue
Block a user