DeathGun44 commented on code in PR #6321:
URL: https://github.com/apache/fineract/pull/6321#discussion_r3865569678
##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/ExternalIdSupportIntegrationTest.java:
##########
@@ -824,14 +827,14 @@ public void loan() {
PostDelinquencyBucketResponse delinquencyBucketResponse =
DelinquencyBucketsHelper
.createBucket(new
DelinquencyBucketRequest().name(Utils.randomStringGenerator("DLQ_B_",
10)).ranges(rangeIds));
- final String loanProductJSON = new
LoanProductTestBuilder().withPrincipal("1000").withRepaymentTypeAsMonth()
+ final PostLoanProductsRequest loanProductRequest = new
LoanProductTestBuilder().withPrincipal("1000").withRepaymentTypeAsMonth()
.withRepaymentAfterEvery("1").withNumberOfRepayments("1").withRepaymentTypeAsMonth().withinterestRatePerPeriod("0")
.withInterestRateFrequencyTypeAsMonths().withAmortizationTypeAsEqualPrincipalPayment()
.withInterestTypeAsDecliningBalance().withAccountingRuleAsNone()
.withInterestCalculationPeriodTypeAsRepaymentPeriod(true).withDaysInMonth("30").withDaysInYear("365")
.withMoratorium("0",
"0").withDelinquencyBucket(delinquencyBucketResponse.getResourceId())
-
.withInArrearsTolerance("1001").withMultiDisburse().withDisallowExpectedDisbursements(true).build(null);
- final Integer loanProductID = getLoanProductId(loanProductJSON);
+
.withInArrearsTolerance("1001").withMultiDisburse().withDisallowExpectedDisbursements(true).buildRequest(null);
+ final Integer loanProductID = getLoanProductId(loanProductRequest);
Review Comment:
same as above
--
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]