test
This commit is contained in:
snoop 2017-06-23 16:08:52 +09:00
parent 363135009c
commit 844dc9789e

View File

@ -61,7 +61,9 @@ public class ProbeDAOTest {
@Test @Test
public void getProbeList() { public void getProbeList() {
List<Probe> ps = this.probeDAO.findAllByDomainId(1); Domain domain = new Domain();
domain.setId(1);
List<Probe> ps = this.probeDAO.findAllByDomain(domain);
Assert.assertNotEquals(ps.size(), 0); Assert.assertNotEquals(ps.size(), 0);