|
@@ -22,7 +22,7 @@ public class AcctServiceTest {
|
22
|
22
|
@Test
|
23
|
23
|
public void testCreate() throws Exception {
|
24
|
24
|
int exp = 500;
|
25
|
|
- int actual = dao.create(new Account("Biggie", "Moot"));
|
|
25
|
+ int actual = testService.create(new Account("Biggie", "Moot"));
|
26
|
26
|
Assert.assertEquals(exp, actual);
|
27
|
27
|
}
|
28
|
28
|
|
|
@@ -40,7 +40,7 @@ public class AcctServiceTest {
|
40
|
40
|
@Test
|
41
|
41
|
public void testDelete() throws SQLException {
|
42
|
42
|
|
43
|
|
- int actual = dao.delete(acc);
|
|
43
|
+ int actual = testService.destroy(acc);
|
44
|
44
|
Assert.assertEquals(666, actual);
|
45
|
45
|
}
|
46
|
46
|
|