From 9b26b74d198aa4efbe4b25f6667b98eb5261e13d Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 31 May 2013 20:08:50 -0400 Subject: Refinements to push log display and daily digests * Properly support timezone-based date groupings * Polish css for the major browsers on Win & Linux * Use Gitblit constants for refs instead of JGit constants --- src/test/java/com/gitblit/tests/TimeUtilsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/com') diff --git a/src/test/java/com/gitblit/tests/TimeUtilsTest.java b/src/test/java/com/gitblit/tests/TimeUtilsTest.java index f9d5d834..851fb453 100644 --- a/src/test/java/com/gitblit/tests/TimeUtilsTest.java +++ b/src/test/java/com/gitblit/tests/TimeUtilsTest.java @@ -43,12 +43,12 @@ public class TimeUtilsTest { @Test public void testToday() throws Exception { - assertTrue(TimeUtils.isToday(new Date())); + assertTrue(TimeUtils.isToday(new Date(), null)); } @Test public void testYesterday() throws Exception { - assertTrue(TimeUtils.isYesterday(offset(TimeUtils.ONEDAY))); + assertTrue(TimeUtils.isYesterday(offset(TimeUtils.ONEDAY), null)); } @Test -- cgit v1.2.3