You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ad...@apache.org on 2023/03/31 10:17:01 UTC
[fineract] branch develop updated: FINERACT-1724: Fix Delinquency and Chargeback Integration Test
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 5a18f00e2 FINERACT-1724: Fix Delinquency and Chargeback Integration Test
5a18f00e2 is described below
commit 5a18f00e2b80f3f24ed2a282ddec3d0a0aefac72
Author: Jose Alberto Hernandez <al...@MacBook-Pro.local>
AuthorDate: Thu Mar 30 14:53:39 2023 -0600
FINERACT-1724: Fix Delinquency and Chargeback Integration Test
---
.../integrationtests/DelinquencyAndChargebackIntegrationTest.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/integration-tests/src/test/java/org/apache/fineract/integrationtests/DelinquencyAndChargebackIntegrationTest.java b/integration-tests/src/test/java/org/apache/fineract/integrationtests/DelinquencyAndChargebackIntegrationTest.java
index 6095a1d4a..ffc15c978 100644
--- a/integration-tests/src/test/java/org/apache/fineract/integrationtests/DelinquencyAndChargebackIntegrationTest.java
+++ b/integration-tests/src/test/java/org/apache/fineract/integrationtests/DelinquencyAndChargebackIntegrationTest.java
@@ -52,7 +52,6 @@ import org.apache.fineract.integrationtests.common.loans.LoanTransactionHelper;
import org.apache.fineract.integrationtests.common.products.DelinquencyBucketsHelper;
import org.apache.fineract.portfolio.loanaccount.domain.LoanStatus;
import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
@Slf4j
@@ -76,11 +75,10 @@ public class DelinquencyAndChargebackIntegrationTest {
}
@Test
- @Disabled
public void testLoanClassificationStepAsPartOfCOB() {
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
- final LocalDate todaysDate = Utils.getLocalDateOfTenant();
+ final LocalDate todaysDate = Utils.getDateAsLocalDate("01 April 2012");
LocalDate businessDate = todaysDate.minusMonths(3);
log.info("Current Business date {}", businessDate);
BusinessDateHelper.updateBusinessDate(requestSpec, responseSpec, BusinessDateType.BUSINESS_DATE, businessDate);
@@ -193,7 +191,6 @@ public class DelinquencyAndChargebackIntegrationTest {
}
@Test
- @Disabled
public void testLoanClassificationStepAsPartOfCOBRepeated() {
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
List<LocalDate> expectedDates = new ArrayList();