Skip to content

Commit

Permalink
TD CreditCard Loader - fails to load a negative number
Browse files Browse the repository at this point in the history
  • Loading branch information
mlevison committed Oct 17, 2024
1 parent d54b787 commit 4183535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/ExpenseLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
//
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/TDCreditLoaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4183535

Please sign in to comment.