mirror of
https://github.com/Voronsky/unifi4j.git
synced 2025-12-12 16:16:34 -05:00
Switched to some level of assertions for now
This commit is contained in:
@@ -18,6 +18,7 @@ public class UnifiTests {
|
|||||||
Unifi unifi = new Unifi("https://api.ui.com/ea", System.getenv("UNIFI_KEY"));
|
Unifi unifi = new Unifi("https://api.ui.com/ea", System.getenv("UNIFI_KEY"));
|
||||||
response = unifi.getHosts();
|
response = unifi.getHosts();
|
||||||
System.out.println(response);
|
System.out.println(response);
|
||||||
|
assert !response.isEmpty();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,5 +35,6 @@ public class UnifiTests {
|
|||||||
assert false;
|
assert false;
|
||||||
}
|
}
|
||||||
System.out.println(response);
|
System.out.println(response);
|
||||||
|
assert !response.isEmpty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user