diff --git a/src/test/java/ExpenseLoaderTest.java b/src/test/java/ExpenseLoaderTest.java index e9b6eed..81aa0c7 100644 --- a/src/test/java/ExpenseLoaderTest.java +++ b/src/test/java/ExpenseLoaderTest.java @@ -355,7 +355,7 @@ void sampleExpensesLoad() { DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); LocalDate transactionDate = LocalDate.parse(date, dateTimeFormatter); -// assertThat(transactionDate).withFailMessage("Actual Date: " + transactionDate + " Expected: " + dateList[rowNumber] + " at row: " + rowNumber).isEqualTo(dateList[rowNumber]); + assertThat(transactionDate).withFailMessage("Actual Date: " + transactionDate + " Expected: " + dateList[rowNumber] + " at row: " + rowNumber).isEqualTo(dateList[rowNumber]); // String amount = row.get("Amount"); // BigDecimal transactionAmount = new BigDecimal(amount).setScale(2); // diff --git a/src/test/java/TDCreditLoaderTest.java b/src/test/java/TDCreditLoaderTest.java index bce972a..96e622b 100644 --- a/src/test/java/TDCreditLoaderTest.java +++ b/src/test/java/TDCreditLoaderTest.java @@ -151,7 +151,7 @@ void sampleTDCreditLoad() { assertEquals(dateList.length, rows.size()); for (CSVRecord row : rows) { - int rowNumber = (int) row.getRecordNumber(); + int rowNumber = (int) row.getRecordNumber() - 1; // String store = row.get(1); // assertThat(store).withFailMessage("Actual Store: " + store + " Expected: " + storeList[rowNumber] + " at row: " + rowNumber).isEqualTo(storeList[rowNumber]); //assertEquals(storeList[(int) row.getRecordNumber() - 1], store);