HSAdmin Backend Domains, E-Mail, Datenbanken
peter
2013-05-08 fe992459ee3130a2d03dce361fa4dded1ac94d08
test assures member.sharessigned is updateable
1 files modified
18 ■■■■■ changed files
hsarback/test/de/hsadmin/remote/CustomerTest.java 18 ●●●●● patch | view | raw | blame | history
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);