fix test
This commit is contained in:
commit
6994e2de4c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user