From 7fcbc9198024d54e11b5be92efdf4ee6ed2dace6 Mon Sep 17 00:00:00 2001
From: Purodha Blissenbach <purodha.blissenbach@hostsharing.net>
Date: Wed, 18 Jul 2012 20:28:20 +0200
Subject: [PATCH] Tippfehler im Test korrigiert

---
 hsarback/test/de/hsadmin/remote/DomainTest.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hsarback/test/de/hsadmin/remote/DomainTest.java b/hsarback/test/de/hsadmin/remote/DomainTest.java
index 8fda0a7..e5f89e3 100644
--- a/hsarback/test/de/hsadmin/remote/DomainTest.java
+++ b/hsarback/test/de/hsadmin/remote/DomainTest.java
@@ -168,7 +168,7 @@
 		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 @@
 		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 @@
 		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 @@
 			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;
 			}

--
Gitblit v1.9.1