FINERACT-2380: move retrofit client based test to feign
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user