James Moger
2013-01-04 8bde5a04d27e32a03e3790e39943d685c40904f7
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"));
   }
}