mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix failing tests
This commit is contained in:
@@ -65,7 +65,7 @@ public class ReminderControllerTest extends BaseUnitTest
|
|||||||
{
|
{
|
||||||
Habit habit = mock(Habit.class);
|
Habit habit = mock(Habit.class);
|
||||||
long now = timestamp(2015, 1, 1);
|
long now = timestamp(2015, 1, 1);
|
||||||
DateUtils.setFixedLocalTime(now);
|
DateUtils.setFixedLocalTime(DateUtils.removeTimezone(now));
|
||||||
when(preferences.getSnoozeInterval()).thenReturn(15L);
|
when(preferences.getSnoozeInterval()).thenReturn(15L);
|
||||||
|
|
||||||
controller.onSnooze(habit);
|
controller.onSnooze(habit);
|
||||||
|
|||||||
Reference in New Issue
Block a user