Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit 6e9450a

Browse files
author
Evgenii Kanivets
committed
Fix tests.
1 parent e824ff1 commit 6e9450a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/test/java/com/blogspot/e_kanivets/moneytracker/controller/data/AccountControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ public void testTransferDone() throws Exception {
174174
public void testReadDefaultAccount() throws Exception {
175175
assertNull(accountController.readDefaultAccount());
176176

177-
Account account1 = new Account(1, "a1", 100, "NON", 0, 0, false, 0);
177+
Account account1 = new Account(1, "a1", 100, "UAH", 0, 0, false, 0);
178178
repo.create(account1);
179179
assertEquals(account1, accountController.readDefaultAccount());
180180

181-
Account account2 = new Account(2, "a2", 0, "NON", 0, 0, false, 0);
181+
Account account2 = new Account(2, "a2", 0, "UAH", 0, 0, false, 0);
182182
repo.create(account2);
183183
assertEquals(account1, accountController.readDefaultAccount());
184184

0 commit comments

Comments
 (0)