added
test
This commit is contained in:
parent
363135009c
commit
844dc9789e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user