alberto-art3ch commented on code in PR #5159:
URL: https://github.com/apache/fineract/pull/5159#discussion_r2538232191


##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/LoanReschedulingWithinCenterTest.java:
##########
@@ -312,11 +312,11 @@ public void 
testCenterReschedulingMultiTrancheLoansWithInterestRecalculationEnab
 
         ArrayList loanRepaymnetSchedule = 
this.loanTransactionHelper.getLoanRepaymentSchedule(requestSpec, 
generalResponseSpec, loanID);
         // VERIFY RESCHEDULED DATE
-        ArrayList dueDateLoanSchedule = (ArrayList) ((HashMap) 
loanRepaymnetSchedule.get(2)).get("dueDate");
+        ArrayList dueDateLoanSchedule = (ArrayList) ((HashMap) 
loanRepaymnetSchedule.get(3)).get("dueDate");

Review Comment:
   Because In the past we were not returning the Past Expected disbursement not 
executed, and now we have in the Accumulative strategy, so that TC was 
expecting in the second row an installment data, but now due the past expected 
disbursement added, we need to read the data from the third row.
   
   Practically are the same figures, but in the next row. @adamsaghy 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to