fix test
This commit is contained in:
commit
6994e2de4c
@ -138,13 +138,13 @@ public class PacTest {
|
|||||||
Object[] params = new Object[] { user,
|
Object[] params = new Object[] { user,
|
||||||
cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()),
|
cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()),
|
||||||
setParams };
|
setParams };
|
||||||
// try {
|
try {
|
||||||
// Object execute = client.execute(MODULE + ".add", params);
|
Object execute = client.execute(MODULE + ".add", params);
|
||||||
// assertTrue(execute instanceof Map<?, ?>);
|
assertTrue(execute instanceof Map<?, ?>);
|
||||||
// } catch (XmlRpcException e) {
|
} catch (XmlRpcException e) {
|
||||||
// fail(e.getMessage());
|
fail(e.getMessage());
|
||||||
// }
|
}
|
||||||
// assertEquals(count + 1, getPacsCount());
|
assertEquals(count + 1, getPacsCount());
|
||||||
Map<String, String> whereParams = new HashMap<String, String>();
|
Map<String, String> whereParams = new HashMap<String, String>();
|
||||||
whereParams.put("name", "aaa90");
|
whereParams.put("name", "aaa90");
|
||||||
params = new Object[] { user,
|
params = new Object[] { user,
|
||||||
|
Loading…
Reference in New Issue
Block a user