tests/com/gitblit/tests/RpcTests.java
@@ -16,6 +16,7 @@ package com.gitblit.tests; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -241,4 +242,11 @@ newValue = !newValue; updated.put(Keys.web.showRepositorySizes, String.valueOf(newValue)); } public void testBranches() throws Exception { Map<String, Collection<String>> branches = RpcUtils.getAllBranches(url, account, password.toCharArray()); assertTrue(branches != null); assertTrue(branches.size() > 0); } }