adamsaghy commented on code in PR #6069:
URL: https://github.com/apache/fineract/pull/6069#discussion_r3631120397
##########
fineract-provider/src/test/java/org/apache/fineract/cob/loan/LoanItemReaderStepDefinitions.java:
##########
@@ -68,7 +70,7 @@ public class LoanItemReaderStepDefinitions implements En {
public LoanItemReaderStepDefinitions() {
Given("/^The LoanItemReader.read method with loanIds (.*)$/", (String
loanIds) -> {
- JobExecution jobExecution = new JobExecution(1L);
+ JobExecution jobExecution = new JobExecution(1L, new
JobInstance(1L, "test"), new JobParameters());
ExecutionContext jobExecutionContext = new ExecutionContext();
jobExecution.setExecutionContext(jobExecutionContext);
StepExecution stepExecution = new StepExecution("test",
jobExecution);
Review Comment:
Can we rework to not rely on deprecated functionality?
--
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]