adamsaghy commented on code in PR #5046:
URL: https://github.com/apache/fineract/pull/5046#discussion_r2390476724


##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/BaseLoanIntegrationTest.java:
##########
@@ -915,14 +916,19 @@ protected void executeInlineCOB(Long loanId) {
         inlineLoanCOBHelper.executeInlineCOB(List.of(loanId));
     }
 
-    protected void reAgeLoan(Long loanId, String frequencyType, int 
frequencyNumber, String startDate, Integer numberOfInstallments) {
+    protected void reAgeLoan(Long loanId, String frequencyType, int 
frequencyNumber, String startDate, Integer numberOfInstallments,
+            String reAgeInterestHandling) {
         PostLoansLoanIdTransactionsRequest request = new 
PostLoansLoanIdTransactionsRequest();
         request.setDateFormat(DATETIME_PATTERN);
         request.setLocale("en");
         request.setFrequencyType(frequencyType);
         request.setFrequencyNumber(frequencyNumber);
         request.setStartDate(startDate);
         request.setNumberOfInstallments(numberOfInstallments);
+        if (reAgeInterestHandling == null) {
+            reAgeInterestHandling = 
LoanReAgeInterestHandlingType.DEFAULT.name();
+        }

Review Comment:
   Do we need this? if not reage interest handling was provided, still the 
request should be accepted and consider it as "DEFAULT" (as fallback value)



-- 
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