From: Alex Lewis Date: Mon, 23 Dec 2013 15:02:18 +0000 (+0000) Subject: Fixed test. X-Git-Tag: v1.4.0~140^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F129%2Fhead;p=gitblit.git Fixed test. testRevlog was expecting 12 commits but getting 19. Looking at the hello-world repository on github (on which the test executes) the 19 commit count appears to be correct. --- diff --git a/src/test/java/com/gitblit/tests/JGitUtilsTest.java b/src/test/java/com/gitblit/tests/JGitUtilsTest.java index f60343ae..05bea915 100644 --- a/src/test/java/com/gitblit/tests/JGitUtilsTest.java +++ b/src/test/java/com/gitblit/tests/JGitUtilsTest.java @@ -518,7 +518,7 @@ public class JGitUtilsTest extends GitblitUnitTest { // grab the commits since 2008-07-15 commits = JGitUtils.getRevLog(repository, null, new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15")); - assertEquals(12, commits.size()); + assertEquals(19, commits.size()); repository.close(); }