FINERACT-1483: fix Sonar bugs with Blocker and Critical severity

This commit is contained in:
taskain7
2022-03-22 13:49:47 +01:00
committed by Aleksandar Vidakovic
parent 2d2192ca17
commit bd48a93e24
11 changed files with 17 additions and 9 deletions
@@ -137,7 +137,7 @@ public class RepaymentWithPostDatedChecksTest {
// Repay for the installment 1 using post dated check
HashMap postDatedCheck = this.loanTransactionHelper.getPostDatedCheck(loanID, Integer.valueOf(1));
Assertions.assertNotNull(postDatedCheck);
Assertions.assertNotNull(Float.parseFloat(String.valueOf(postDatedCheck.get("amount"))));
Assertions.assertNotNull(Float.valueOf(String.valueOf(postDatedCheck.get("amount"))));
this.loanTransactionHelper.makeRepaymentWithPDC(LOAN_REPAYMENT_DATE, firstInstallmentAmount, loanID, paymentTypeId);
}