\r
retrievedRepository = findRepository(model.name);\r
assertTrue("Failed to delete " + model.name, retrievedRepository == null);\r
+\r
+ for (UserModel u : RpcUtils.getUsers(url, account, password.toCharArray())) {\r
+ if (u.username.equals(testMember)) {\r
+ RpcUtils.deleteUser(u, url, account, password.toCharArray());\r
+ break;\r
+ }\r
+ }\r
}\r
\r
private RepositoryModel findRepository(String name) throws IOException {\r
account, password.toCharArray());\r
assertTrue("No federation result registrations were retrieved!", registrations.size() > 0);\r
}\r
- \r
+\r
public void testFederationProposals() throws Exception {\r
- List<FederationProposal> proposals = RpcUtils.getFederationProposals(url,\r
- account, password.toCharArray());\r
+ List<FederationProposal> proposals = RpcUtils.getFederationProposals(url, account,\r
+ password.toCharArray());\r
assertTrue("No federation proposals were retrieved!", proposals.size() > 0);\r
}\r
- \r
+\r
public void testFederationSets() throws Exception {\r
- List<FederationSet> sets = RpcUtils.getFederationSets(url,\r
- account, password.toCharArray());\r
+ List<FederationSet> sets = RpcUtils.getFederationSets(url, account, password.toCharArray());\r
assertTrue("No federation sets were retrieved!", sets.size() > 0);\r
}\r
}\r