Tippfehler im Test korrigiert
This commit is contained in:
parent
5ad17e751a
commit
7fcbc91980
@ -168,7 +168,7 @@ public class DomainTest {
|
||||
try {
|
||||
Object execute = client.execute(MODULE + ".update", params);
|
||||
assertNotNull(execute);
|
||||
assertEquals(getDomOptionsCount(), 1);
|
||||
assertEquals(1, getDomOptionsCount());
|
||||
} catch (XmlRpcException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
@ -191,7 +191,7 @@ public class DomainTest {
|
||||
try {
|
||||
Object execute = client.execute(MODULE + ".update", params);
|
||||
assertNotNull(execute);
|
||||
assertEquals(getDomOptionsCount(),2);
|
||||
assertEquals(2, getDomOptionsCount());
|
||||
} catch (XmlRpcException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
@ -212,7 +212,7 @@ public class DomainTest {
|
||||
try {
|
||||
Object execute = client.execute(MODULE + ".update", params);
|
||||
assertNotNull(execute);
|
||||
assertEquals(getDomOptionsCount(),0);
|
||||
assertEquals(0, getDomOptionsCount());
|
||||
} catch (XmlRpcException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
@ -252,7 +252,7 @@ public class DomainTest {
|
||||
assertTrue(result[0] instanceof Map<?, ?>);
|
||||
Map<String, ?> domainMap = (Map<String, ?>) result[0];
|
||||
assertNotNull(domainMap);
|
||||
List<?> optsList = (List<?>)domainMap.get("domainsoptions");
|
||||
List<?> optsList = (List<?>)domainMap.get("domainoptions");
|
||||
if (optsList == null) {
|
||||
count = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user