MIFOSX-1317 test case fix
This commit is contained in:
+4
@@ -975,6 +975,7 @@ public class RecurringDepositTest {
|
|||||||
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
||||||
Assert.assertNotNull(transactionIdForDeposit);
|
Assert.assertNotNull(transactionIdForDeposit);
|
||||||
|
|
||||||
|
currentDate = currentDate - 1;
|
||||||
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
||||||
System.out.println("IPM = " + interestPerMonth);
|
System.out.println("IPM = " + interestPerMonth);
|
||||||
principal += interestPerMonth;
|
principal += interestPerMonth;
|
||||||
@@ -1101,6 +1102,7 @@ public class RecurringDepositTest {
|
|||||||
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
||||||
Assert.assertNotNull(transactionIdForDeposit);
|
Assert.assertNotNull(transactionIdForDeposit);
|
||||||
|
|
||||||
|
currentDate = currentDate - 1;
|
||||||
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
||||||
System.out.println("IPM = " + interestPerMonth);
|
System.out.println("IPM = " + interestPerMonth);
|
||||||
principal += interestPerMonth;
|
principal += interestPerMonth;
|
||||||
@@ -1234,6 +1236,7 @@ public class RecurringDepositTest {
|
|||||||
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
||||||
Assert.assertNotNull(transactionIdForDeposit);
|
Assert.assertNotNull(transactionIdForDeposit);
|
||||||
|
|
||||||
|
currentDate = currentDate - 1;
|
||||||
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
||||||
System.out.println("IPM = " + interestPerMonth);
|
System.out.println("IPM = " + interestPerMonth);
|
||||||
principal += interestPerMonth;
|
principal += interestPerMonth;
|
||||||
@@ -1372,6 +1375,7 @@ public class RecurringDepositTest {
|
|||||||
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
DEPOSIT_AMOUNT, EXPECTED_FIRST_DEPOSIT_ON_DATE);
|
||||||
Assert.assertNotNull(newTransactionIdForDeposit);
|
Assert.assertNotNull(newTransactionIdForDeposit);
|
||||||
|
|
||||||
|
currentDate = currentDate - 1;
|
||||||
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
interestPerMonth = (float) (interestPerDay * principal * currentDate);
|
||||||
System.out.println("IPM = " + interestPerMonth);
|
System.out.println("IPM = " + interestPerMonth);
|
||||||
principal += interestPerMonth;
|
principal += interestPerMonth;
|
||||||
|
|||||||
Reference in New Issue
Block a user