adamsaghy commented on code in PR #3206:
URL: https://github.com/apache/fineract/pull/3206#discussion_r1217666325
##########
fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/service/serialization/serializer/loan/LoanAccountDelinquencyRangeEventSerializerTest.java:
##########
@@ -89,6 +90,8 @@ public class LoanAccountDelinquencyRangeEventSerializerTest {
@Mock
private DelinquencyReadPlatformService delinquencyReadPlatformService;
+ private DataEnricherProcessor dataEnricherProcessor;
+
Review Comment:
is this used anywhere?
##########
fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/service/serialization/serializer/loan/LoanRepaymentBusinessEventSerializerTest.java:
##########
@@ -86,6 +90,7 @@ public void setUp() {
ThreadLocalContextUtil.setActionContext(ActionContext.DEFAULT);
ThreadLocalContextUtil
.setBusinessDates(new
HashMap<>(Map.of(BusinessDateType.BUSINESS_DATE,
LocalDate.now(ZoneId.systemDefault()))));
+ when(dataEnricherProcessor.enrich(any())).thenAnswer(a ->
a.getArguments()[0]);
Review Comment:
I might be wrong, but i dont see any places where it was verified the data
enricher was called and provided the right 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]