James Moger
2012-11-06 4789d15e2fb3b8e7698735962d7ecc5f7c351d23
tests/com/gitblit/tests/FederationTests.java
@@ -136,7 +136,7 @@
      
      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());
@@ -156,4 +156,11 @@
      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"));
   }
}