From 844dc9789ebb17a124972a956a9ba4089f7bc750 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 16:08:52 +0900 Subject: [PATCH] added test --- .../com/loafle/overflow/module/probe/dao/ProbeDAOTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java b/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java index 33d5070..9e37bca 100644 --- a/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java @@ -61,7 +61,9 @@ public class ProbeDAOTest { @Test public void getProbeList() { - List ps = this.probeDAO.findAllByDomainId(1); + Domain domain = new Domain(); + domain.setId(1); + List ps = this.probeDAO.findAllByDomain(domain); Assert.assertNotEquals(ps.size(), 0);