Skip to content

Commit

Permalink
#764 - fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocker8 committed Oct 4, 2024
1 parent 68284f5 commit ff80894
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void test_Accounts()
final Icon icon = new Icon(accountImage);
icon.setID(1);

final Account account = new Account("Second Account", "Lorem Ipsum", AccountType.CUSTOM, icon, null);
final Account account = new Account("Second Account", "Lorem Ipsum", AccountType.CUSTOM, icon, LocalDate.of(2024, 7, 2));
account.setID(3);

assertThat(database.getAccounts()).hasSize(3)
Expand Down Expand Up @@ -215,7 +215,7 @@ void test_Transactions()
Icon accountIcon = new Icon(image);
accountIcon.setID(1);

Account account2 = new Account("Second Account", "Lorem Ipsum", AccountType.CUSTOM, null);
Account account2 = new Account("Second Account", "Lorem Ipsum", AccountType.CUSTOM, LocalDate.of(2024, 7, 2));
account2.setIconReference(accountIcon);
account2.setID(3);

Expand Down

0 comments on commit ff80894

Please sign in to comment.