FINERACT-1785: Specified due date charges/fees cannot be applied on disbursement date

This commit is contained in:
Jose Alberto Hernandez
2023-01-09 23:39:56 +01:00
committed by Arnold Gálovics
parent ab51b2a4cc
commit dafd4c3436
2 changed files with 14 additions and 6 deletions
@@ -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);