adamsaghy commented on code in PR #5946:
URL: https://github.com/apache/fineract/pull/5946#discussion_r3421179056
##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/common/externalevents/LoanBusinessEvent.java:
##########
@@ -62,10 +62,11 @@ public boolean verify(ExternalEventResponse externalEvent,
DateTimeFormatter for
var principalDisbursed = summary.get("principalDisbursed");
var principalOutstanding = summary.get("principalOutstanding");
- Double statusId = (Double) status.get("id");
+ Double statusId = status.get("id") instanceof Number ? ((Number)
status.get("id")).doubleValue() : null;
Review Comment:
status id as double? Looks incorrect.
--
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]