diff options
author | James Moger <james.moger@gitblit.com> | 2013-05-31 20:08:50 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-05-31 20:08:50 -0400 |
commit | 9b26b74d198aa4efbe4b25f6667b98eb5261e13d (patch) | |
tree | f6078f62229b5bb42964da39d29de07998351b9a /src/test/java/com | |
parent | b5a318c0e6340dc546323ea2ccd3861e55beff62 (diff) | |
download | gitblit-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.java | 4 |
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
|