This is an automated email from the ASF dual-hosted git repository.
adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 9c01540990 FINERACT-2181: Check whether loan got closed after the test
9c01540990 is described below
commit 9c0154099067262c76a4d2bf068d3c0c93c6dd78
Author: Adam Saghy <[email protected]>
AuthorDate: Wed May 21 23:02:00 2025 +0200
FINERACT-2181: Check whether loan got closed after the test
---
.../integrationtests/common/loans/LoanTestLifecycleExtension.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/common/loans/LoanTestLifecycleExtension.java
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/common/loans/LoanTestLifecycleExtension.java
index e19019aad0..8a6c1d382f 100644
---
a/integration-tests/src/test/java/org/apache/fineract/integrationtests/common/loans/LoanTestLifecycleExtension.java
+++
b/integration-tests/src/test/java/org/apache/fineract/integrationtests/common/loans/LoanTestLifecycleExtension.java
@@ -18,6 +18,8 @@
*/
package org.apache.fineract.integrationtests.common.loans;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
@@ -83,8 +85,8 @@ public class LoanTestLifecycleExtension implements
AfterEachCallback {
new
PostLoansLoanIdRequest().rejectedOnDate(dateFormatter.format(details.getTimeline().getSubmittedOnDate()))
.locale("en").dateFormat(DATE_FORMAT));
});
- // loanIds = LoanTransactionHelper.getLoanIdsByStatusId(300);
- // assertEquals(0, loanIds.size());
+ loanIds = LoanTransactionHelper.getLoanIdsByStatusId(300);
+ assertEquals(0, loanIds.size());
});
}
}