James Moger
2015-09-15 55c385e96e6594ec1ac3b5cd41ccd2df6048b696
src/test/java/com/gitblit/tests/JGitUtilsTest.java
@@ -476,6 +476,15 @@
   }
   @Test
   public void testFilesInPath2() throws Exception {
      assertEquals(0, JGitUtils.getFilesInPath2(null, null, null).size());
      Repository repository = GitBlitSuite.getHelloworldRepository();
      List<PathModel> files = JGitUtils.getFilesInPath2(repository, null, null);
      repository.close();
      assertTrue(files.size() > 10);
   }
   @Test
   public void testDocuments() throws Exception {
      Repository repository = GitBlitSuite.getTicgitRepository();
      List<String> extensions = Arrays.asList(new String[] { ".mkd", ".md" });