| | |
| | |
|
| | | TeamModel team = new TeamModel("testteam");
|
| | | team.addUser("test");
|
| | | team.addRepository("helloworld.git");
|
| | | team.addRepositoryPermission("helloworld.git");
|
| | | assertTrue(RpcUtils.createTeam(team, url, account, password.toCharArray()));
|
| | |
|
| | | users = FederationUtils.getUsers(getRegistration());
|
| | |
| | | assertNotNull(teams);
|
| | | assertTrue(teams.size() > 0);
|
| | | }
|
| | | |
| | | @Test
|
| | | public void testPullScripts() throws Exception {
|
| | | Map<String, String> scripts = FederationUtils.getScripts(getRegistration());
|
| | | assertNotNull(scripts);
|
| | | assertTrue(scripts.keySet().contains("sendmail"));
|
| | | }
|
| | | }
|