fixing test failures due to minimum days between disbursal and first repayment parameter being introduced in integration tests
This commit is contained in:
+8
-8
@@ -42,7 +42,7 @@ public class LoanProductTestBuilder {
|
||||
public static final String RECALCULATION_STRATEGY_REDUCE_NUMBER_OF_INSTALLMENTS = "2";
|
||||
public static final String RECALCULATION_STRATEGY_REDUCE_EMI_AMOUN = "3";
|
||||
|
||||
public static final String RECALCULATION_COMPOUNDING_METHOD_NONE= "0";
|
||||
public static final String RECALCULATION_COMPOUNDING_METHOD_NONE = "0";
|
||||
public static final String RECALCULATION_COMPOUNDING_METHOD_INTEREST = "1";
|
||||
public static final String RECALCULATION_COMPOUNDING_METHOD_FEE = "2";
|
||||
public static final String RECALCULATION_COMPOUNDING_METHOD_INTEREST_AND_FEE = "3";
|
||||
@@ -56,7 +56,7 @@ public class LoanProductTestBuilder {
|
||||
private String inMultiplesOf = "0";
|
||||
|
||||
private String nameOfLoanProduct = Utils.randomNameGenerator("LOAN_PRODUCT_", 6);
|
||||
private String shortName = Utils.randomNameGenerator("", 4);
|
||||
private final String shortName = Utils.randomNameGenerator("", 4);
|
||||
private String principal = "10000.00";
|
||||
private String numberOfRepayments = "5";
|
||||
private String repaymentFrequency = MONTHS;
|
||||
@@ -76,8 +76,8 @@ public class LoanProductTestBuilder {
|
||||
private Account[] accountList = null;
|
||||
|
||||
private Boolean multiDisburseLoan = false;
|
||||
private String outstandingLoanBalance = "35000";
|
||||
private String maxTrancheCount = "35000";
|
||||
private final String outstandingLoanBalance = "35000";
|
||||
private final String maxTrancheCount = "35000";
|
||||
|
||||
private Boolean isInterestRecalculationEnabled = false;
|
||||
private String daysInYearType = "1";
|
||||
@@ -87,7 +87,7 @@ public class LoanProductTestBuilder {
|
||||
private String recalculationRestFrequencyType = "1";
|
||||
private String recalculationRestFrequencyInterval = "0";
|
||||
private String recalculationRestFrequencyDate = null;
|
||||
private String minimumDaysBetweenDisbursalAndFirstRepayment = "0";
|
||||
private String minimumDaysBetweenDisbursalAndFirstRepayment = null;
|
||||
|
||||
public String build(final String chargeId) {
|
||||
final HashMap<String, Object> map = new HashMap<>();
|
||||
@@ -379,8 +379,8 @@ public class LoanProductTestBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public LoanProductTestBuilder withMinimumDaysBetweenDisbursalAndFirstRepayment(final String minimumDaysBetweenDisbursalAndFirstRepayment){
|
||||
this.minimumDaysBetweenDisbursalAndFirstRepayment = minimumDaysBetweenDisbursalAndFirstRepayment;
|
||||
return this;
|
||||
public LoanProductTestBuilder withMinimumDaysBetweenDisbursalAndFirstRepayment(final String minimumDaysBetweenDisbursalAndFirstRepayment) {
|
||||
this.minimumDaysBetweenDisbursalAndFirstRepayment = minimumDaysBetweenDisbursalAndFirstRepayment;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user