summaryrefslogtreecommitdiffstats
path: root/src/test/java/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-05-31 20:08:50 -0400
committerJames Moger <james.moger@gitblit.com>2013-05-31 20:08:50 -0400
commit9b26b74d198aa4efbe4b25f6667b98eb5261e13d (patch)
treef6078f62229b5bb42964da39d29de07998351b9a /src/test/java/com
parentb5a318c0e6340dc546323ea2ccd3861e55beff62 (diff)
downloadgitblit-9b26b74d198aa4efbe4b25f6667b98eb5261e13d.tar.gz
gitblit-9b26b74d198aa4efbe4b25f6667b98eb5261e13d.zip
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
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/gitblit/tests/TimeUtilsTest.java4
1 files changed, 2 insertions, 2 deletions
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