From fe992459ee3130a2d03dce361fa4dded1ac94d08 Mon Sep 17 00:00:00 2001
From: peter <peter.hormanns@jalin.de>
Date: Wed, 08 May 2013 19:56:28 +0200
Subject: [PATCH] test assures member.sharessigned is updateable

---
 hsarback/test/de/hsadmin/remote/CustomerTest.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/hsarback/test/de/hsadmin/remote/CustomerTest.java b/hsarback/test/de/hsadmin/remote/CustomerTest.java
index 20cd368..1052b41 100644
--- a/hsarback/test/de/hsadmin/remote/CustomerTest.java
+++ b/hsarback/test/de/hsadmin/remote/CustomerTest.java
@@ -182,6 +182,24 @@
 	}
 
 	@Test
+	public void testUpdateAsHostmasterSharesSigned() {
+		String user = "ad";
+		String grantingTicketURL = cas.getGrantingTicketURL(user);
+		Map<String, String> whereParams = new HashMap<String, String>();
+		Map<String, String> setParams = new HashMap<String, String>();
+		whereParams.put("membercode", "hsh00-aaa");
+		setParams.put("sharessigned", "1");
+		Object[] params = new Object[] { user, 
+				cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), 
+				setParams, whereParams };
+		try {
+			client.execute(MODULE + ".update", params);
+		} catch (XmlRpcException e) {
+			fail(e.getMessage());
+		}
+	}
+
+	@Test
 	public void testDeleteAsMember() {
 		String user = "hsh00-aaa";
 		String grantingTicketURL = cas.getGrantingTicketURL(user);

--
Gitblit v1.9.0-SNAPSHOT