FINERACT-1724: Fix Delinquency and Chargeback Integration Test
This commit is contained in:
committed by
Adam Saghy
parent
b96e2417ed
commit
5a18f00e2b
+1
-4
@@ -52,7 +52,6 @@ import org.apache.fineract.integrationtests.common.loans.LoanTransactionHelper;
|
|||||||
import org.apache.fineract.integrationtests.common.products.DelinquencyBucketsHelper;
|
import org.apache.fineract.integrationtests.common.products.DelinquencyBucketsHelper;
|
||||||
import org.apache.fineract.portfolio.loanaccount.domain.LoanStatus;
|
import org.apache.fineract.portfolio.loanaccount.domain.LoanStatus;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Disabled;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@@ -76,11 +75,10 @@ public class DelinquencyAndChargebackIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Disabled
|
|
||||||
public void testLoanClassificationStepAsPartOfCOB() {
|
public void testLoanClassificationStepAsPartOfCOB() {
|
||||||
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
|
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
|
||||||
|
|
||||||
final LocalDate todaysDate = Utils.getLocalDateOfTenant();
|
final LocalDate todaysDate = Utils.getDateAsLocalDate("01 April 2012");
|
||||||
LocalDate businessDate = todaysDate.minusMonths(3);
|
LocalDate businessDate = todaysDate.minusMonths(3);
|
||||||
log.info("Current Business date {}", businessDate);
|
log.info("Current Business date {}", businessDate);
|
||||||
BusinessDateHelper.updateBusinessDate(requestSpec, responseSpec, BusinessDateType.BUSINESS_DATE, businessDate);
|
BusinessDateHelper.updateBusinessDate(requestSpec, responseSpec, BusinessDateType.BUSINESS_DATE, businessDate);
|
||||||
@@ -193,7 +191,6 @@ public class DelinquencyAndChargebackIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Disabled
|
|
||||||
public void testLoanClassificationStepAsPartOfCOBRepeated() {
|
public void testLoanClassificationStepAsPartOfCOBRepeated() {
|
||||||
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
|
GlobalConfigurationHelper.updateIsBusinessDateEnabled(requestSpec, responseSpec, Boolean.TRUE);
|
||||||
List<LocalDate> expectedDates = new ArrayList();
|
List<LocalDate> expectedDates = new ArrayList();
|
||||||
|
|||||||
Reference in New Issue
Block a user