peter-kovacs-dpc commented on code in PR #6432:
URL: https://github.com/apache/fineract/pull/6432#discussion_r3995882127


##########
fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/WorkingCapitalLoanAccountStepDef.java:
##########
@@ -352,6 +435,13 @@ public void verifyAutoGeneratedFieldsPresent() {
         assertThat(response.getClientId()).as("clientId").isNotNull();
     }
 
+    @Then("Working capital loan details has annual EIR {string}")
+    public void verifyWorkingCapitalLoanDetailsAnnualEir(final String 
expectedAnnualEir) {
+        final GetWorkingCapitalLoansLoanIdResponse response = 
retrieveLoanDetails(getCreatedLoanId());
+        
assertThat(response.getCalculatedAnnualEir()).as("calculatedAnnualEir").isCloseTo(new
 BigDecimal(expectedAnnualEir),
+                within(new BigDecimal("0.01")));

Review Comment:
   fixed to proposed assertion



-- 
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]

Reply via email to