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);