mirror of https://github.com/apache/jclouds.git
Do not fail test if we have only the ROOT domain
This commit is contained in:
parent
1c8e09264c
commit
b9dc387ab4
|
@ -50,7 +50,7 @@ public class DomainDomainClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
assertEquals(root.getLevel(), 0);
|
||||
assertEquals(root.getParentDomainId(), 0);
|
||||
assertNull(root.getParentDomainName());
|
||||
if (allDomains.size() > 0) {
|
||||
if (allDomains.size() > 1) {
|
||||
assertTrue(root.hasChild());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue