adamsaghy commented on PR #5738:
URL: https://github.com/apache/fineract/pull/5738#issuecomment-4184129518
```
Execution failed for task ':integration-tests:spotlessJavaCheck'.
Deprecated Gradle features were used in this build, making it incompatible
with Gradle 9.0.
> The following files had format violations:
src/test/java/org/apache/fineract/integrationtests/client/feign/tests/FeignLoanAdjustmentOriginatorEnricherTest.java
@@ -125,10 +125,8 @@
············//·Add·a·fee·charge·to·the·loan
············final·Long·chargeId·=·createFlatFeeCharge(100.0,·"EUR");
-············ok(()·->·fineractClient.loanCharges().executeLoanCharge(loanId,
-····················new·PostLoansLoanIdChargesRequest().chargeId(chargeId).amount(100.0).locale("en").dateFormat("dd·MMMM·yyyy")
-····························.dueDate(today),
-····················(String)·null));
+············ok(()·->·fineractClient.loanCharges().executeLoanCharge(loanId,·new·PostLoansLoanIdChargesRequest().chargeId(chargeId)
+····················.amount(100.0).locale("en").dateFormat("dd·MMMM·yyyy").dueDate(today),·(String)·null));
············externalEventHelper.deleteAllExternalEvents();
@@ -162,10 +160,9 @@
············//·Add·a·fee·charge·and·waive·it
············final·Long·chargeId·=·createFlatFeeCharge(100.0,·"EUR");
-············final·Long·loanChargeId·=·ok(()·->·fineractClient.loanCharges().executeLoanCharge(loanId,
-····················new·PostLoansLoanIdChargesRequest().chargeId(chargeId).amount(100.0).locale("en").dateFormat("dd·MMMM·yyyy")
-····························.dueDate(today),
-····················(String)·null)).getResourceId();
+············final·Long·loanChargeId·=·ok(()·->·fineractClient.loanCharges().executeLoanCharge(loanId,·new·PostLoansLoanIdChargesRequest()
+····················.chargeId(chargeId).amount(100.0).locale("en").dateFormat("dd·MMMM·yyyy").dueDate(today),·(String)·null))
+····················.getResourceId();
············ok(()·->·fineractClient.loanCharges().executeLoanChargeOnExistingCharge(loanId,·loanChargeId,
····················new·PostLoansLoanIdChargesChargeIdRequest(),·"waive"));
Run './gradlew :integration-tests:spotlessApply' to fix these violations.
--
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]