summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-08 13:41:28 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-08 13:41:28 -0400
commit14181da41a98817aef2b528f92d58613e61e495f (patch)
tree3aaf6e9ea15ad8e4c26d15c6a47a65ff2450f062 /src/test
parent696cb684a1ba095c195cdfc750728be8e94a7add (diff)
parent936af6a24bb80fc6177ecacc44a4be79d79f3de4 (diff)
downloadgitblit-14181da41a98817aef2b528f92d58613e61e495f.tar.gz
gitblit-14181da41a98817aef2b528f92d58613e61e495f.zip
Merge branch 'ticket/161' into develop
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/gitblit/tests/TimeUtilsTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/gitblit/tests/TimeUtilsTest.java b/src/test/java/com/gitblit/tests/TimeUtilsTest.java
index fb38ffd3..ef506ef4 100644
--- a/src/test/java/com/gitblit/tests/TimeUtilsTest.java
+++ b/src/test/java/com/gitblit/tests/TimeUtilsTest.java
@@ -100,9 +100,9 @@ public class TimeUtilsTest extends GitblitUnitTest {
@Test
public void testFrequency() {
- assertEquals(5, TimeUtils.convertFrequencyToMinutes("2 mins"));
- assertEquals(10, TimeUtils.convertFrequencyToMinutes("10 mins"));
- assertEquals(600, TimeUtils.convertFrequencyToMinutes("10 hours"));
- assertEquals(14400, TimeUtils.convertFrequencyToMinutes(" 10 days "));
+ assertEquals(5, TimeUtils.convertFrequencyToMinutes("2 mins", 5));
+ assertEquals(10, TimeUtils.convertFrequencyToMinutes("10 mins", 5));
+ assertEquals(600, TimeUtils.convertFrequencyToMinutes("10 hours", 5));
+ assertEquals(14400, TimeUtils.convertFrequencyToMinutes(" 10 days ", 5));
}
}