From: James Moger Date: Mon, 20 Oct 2014 15:10:37 +0000 (-0400) Subject: Correct unit test assertion X-Git-Tag: v1.6.1~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5da0fd1317ad66b31a69a63940f45044e375c108;p=gitblit.git Correct unit test assertion --- diff --git a/src/test/java/com/gitblit/tests/JGitUtilsTest.java b/src/test/java/com/gitblit/tests/JGitUtilsTest.java index 68cb4f86..c2cfb331 100644 --- a/src/test/java/com/gitblit/tests/JGitUtilsTest.java +++ b/src/test/java/com/gitblit/tests/JGitUtilsTest.java @@ -520,7 +520,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(19, commits.size()); + assertEquals(12, commits.size()); repository.close(); }