You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/BlockTransactionsOnClosedOverpaidLoansTest.java
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/ClientLoanChargeExternalIntegrationTest.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,11 @@ public void checkNewClientLoanChargeFindsDuplicateExternalId() {
81
81
.amount(1.0).dueDate("22 September 2011").externalId(externalId).dateFormat("dd MMMM yyyy").locale("en"));
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/ClientLoanChargeRefundIntegrationTest.java
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/ClientLoanMultipleDisbursementsIntegrationTest.java
"Checking Principal Loan Balance Outstanding is zero");
207
+
assertTrue(expectedPrincipalLoanBalanceOutstanding.compareTo(principalLoanBalanceOutstanding) == 0, "Checking Principal Loan Balance Outstanding is zero");
187
208
}
188
209
189
210
@Test
@@ -214,7 +235,8 @@ public void checkThatAllMultiDisbursalsAppearOnLoanScheduleAndOutStandingBalance
214
235
approveLoan(loanID, approveLoanRequest(12000.0, "01 January 2021"));
215
236
verifyLoanStatus(loanID, LoanStatus.APPROVED);
216
237
217
-
LOG.info("-------------------------------DISBURSE 1, repay fully, disburse again LOANS -------------------------------------------");
238
+
LOG.info(
239
+
"-------------------------------DISBURSE 1, repay fully, disburse again LOANS -------------------------------------------");
218
240
disburseLoanWithAmount(loanID, "12 January 2021", 1);
219
241
verifyLoanStatus(loanID, LoanStatus.ACTIVE);
220
242
makeLoanRepayment(loanID, "Repayment", "13 January 2021", 1.0);
@@ -236,30 +258,25 @@ public void checkThatAllMultiDisbursalsAppearOnLoanScheduleAndOutStandingBalance
236
258
assertEquals(expectedLoanScheduleLineCount, loanScheduleLineCount, "Checking 3 lines in schedule");
"Checking Principal Loan Balance Outstanding is zero");
279
+
assertTrue(expectedPrincipalLoanBalanceOutstanding.compareTo(principalLoanBalanceOutstanding) == 0, "Checking Principal Loan Balance Outstanding is zero");
263
280
}
264
281
265
282
@Test
@@ -290,7 +307,8 @@ public void checkThatAllMultiDisbursalsAppearOnLoanScheduleAndOutStandingBalance
290
307
approveLoan(loanID, approveLoanRequest(12000.0, "01 January 2021"));
291
308
verifyLoanStatus(loanID, LoanStatus.APPROVED);
292
309
293
-
LOG.info("-------------------------------DISBURSE 1, repay fully, disburse again LOANS -------------------------------------------");
310
+
LOG.info(
311
+
"-------------------------------DISBURSE 1, repay fully, disburse again LOANS -------------------------------------------");
294
312
disburseLoanWithAmount(loanID, "12 January 2021", 1);
295
313
verifyLoanStatus(loanID, LoanStatus.ACTIVE);
296
314
makeLoanRepayment(loanID, "Repayment", "13 January 2021", 2.0);
@@ -312,29 +330,24 @@ public void checkThatAllMultiDisbursalsAppearOnLoanScheduleAndOutStandingBalance
312
330
assertEquals(expectedLoanScheduleLineCount, loanScheduleLineCount, "Checking nine lines in schedule");
"Checking Principal Loan Balance Outstanding is zero");
351
+
assertTrue(expectedPrincipalLoanBalanceOutstanding.compareTo(principalLoanBalanceOutstanding) == 0, "Checking Principal Loan Balance Outstanding is zero");
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/ClientLoanNonTrancheMultipleDisbursementsIntegrationTest.java
Copy file name to clipboardExpand all lines: integration-tests/src/test/java/org/apache/fineract/integrationtests/DelinquencyAndChargebackIntegrationTest.java
0 commit comments