commits = JGitUtils.getRevLog(repository, null, "java.java", 0, 2);\r
assertEquals(2, commits.size());\r
\r
- // grab the commits since 2008-07-15\r
+ // grab the commits since 2019-06-05\r
commits = JGitUtils.getRevLog(repository, null,\r
- new SimpleDateFormat("yyyy-MM-dd").parse("2008-07-15"));\r
- assertEquals(12, commits.size());\r
+ new SimpleDateFormat("yyyy-MM-dd").parse("2019-06-05"));\r
+ assertEquals("Wrong number of commits since 2019-06-05.",\r
+ GitBlitSuite.helloworldSettings.getInteger(HelloworldKeys.commits.since_20190605, -1), commits.size());\r
repository.close();\r
}\r
\r