passing long as lastrun

This commit is contained in:
PoweRGbg 2019-09-27 15:56:40 +03:00
parent 0cc3df589f
commit b277fc872c

View file

@ -50,7 +50,7 @@ public class TriggerTimeRangeTest {
Assert.assertEquals(true, t.shouldRun());
// already run
t = new TriggerTimeRange().period(now - 1, now + 30).lastRun(now - 1);
t = new TriggerTimeRange().lastRun((long) (now - 1)*60000);
Assert.assertFalse(t.shouldRun());
}