FINERACT-2380: move retrofit client based test to feign

This commit is contained in:
Attila Budai
2025-11-26 10:47:29 +01:00
committed by Adam Saghy
parent 6204cde27c
commit 5d2a9c5390
77 changed files with 4908 additions and 5039 deletions
@@ -45,7 +45,7 @@ public class FeignBusinessDateHelper {
.dateFormat("yyyy-MM-dd")//
.locale(LoanTestData.LOCALE);
ok(() -> fineractClient.businessDateManagement().updateBusinessDate(request, Collections.emptyMap()));
ok(() -> fineractClient.businessDateManagement().updateBusinessDate(null, request, Collections.emptyMap()));
}
public void runAt(String date, Runnable action) {
@@ -45,7 +45,7 @@ public class FeignLoanHelper {
}
public Long applyForLoan(PostLoansRequest request) {
PostLoansResponse response = ok(() -> fineractClient.loans().calculateLoanScheduleOrSubmitLoanApplication(request, null));
PostLoansResponse response = ok(() -> fineractClient.loans().calculateLoanScheduleOrSubmitLoanApplication(request, (String) null));
return response.getLoanId();
}