Integration test fix

This commit is contained in:
Arnold Galovics
2023-07-07 23:03:32 +02:00
committed by Arnold Gálovics
parent 191734461b
commit f412ee7529
2 changed files with 2 additions and 3 deletions
@@ -24,7 +24,7 @@ jobs:
- name: Start the stack
run: docker-compose -f docker-compose-postgresql.yml up -d
- name: Wait for stack to come up
run: sleep 120
run: sleep 300
- name: Check health
run: curl -f -k --retry 10 --retry-connrefused --connect-timeout 30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health
- name: Check info
@@ -218,8 +218,7 @@ public class LoanImportHandlerTest {
firstLoanRow.createCell(LoanConstants.LOAN_COLLATERAL_QUANTITY).setCellValue(collaterals.get(0).get("quantity").toString());
firstLoanRow.createCell(LoanConstants.CHARGE_NAME_1).setCellValue(disbursementChargeJSON.getString("name"));
firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_1).setCellValue(disbursementChargeJSON.getFloat("amount"));
firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_TYPE_1)
.setCellValue(disbursementChargeJSON.getString("chargeCalculationType.value"));
firstLoanRow.createCell(LoanConstants.CHARGE_AMOUNT_TYPE_1).setCellValue(disbursementChargeJSON.getString("chargeCalculationType"));
String currentdirectory = new File("").getAbsolutePath();
File directory = new File(currentdirectory + File.separator + "src" + File.separator + "integrationTest" + File.separator