This commit is contained in:
Peter Hormanns 2013-05-02 13:51:28 +02:00
commit 6994e2de4c

View File

@ -138,13 +138,13 @@ public class PacTest {
Object[] params = new Object[] { user,
cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()),
setParams };
// try {
// Object execute = client.execute(MODULE + ".add", params);
// assertTrue(execute instanceof Map<?, ?>);
// } catch (XmlRpcException e) {
// fail(e.getMessage());
// }
// assertEquals(count + 1, getPacsCount());
try {
Object execute = client.execute(MODULE + ".add", params);
assertTrue(execute instanceof Map<?, ?>);
} catch (XmlRpcException e) {
fail(e.getMessage());
}
assertEquals(count + 1, getPacsCount());
Map<String, String> whereParams = new HashMap<String, String>();
whereParams.put("name", "aaa90");
params = new Object[] { user,