Drop start defaults from a start of now, address review (#178)
This commit is contained in:
1 parent
8e124fdb0e
commit
a0fb9e5c72
4 files changed
+7
-5
No files matched your search
@@ -429,4 +429,3 @@ class ReminderPlannerTest {
|
||||
.containsExactly(ScheduledReminder(12, millis(date.atTime(17, 0), berlin)))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,6 +297,7 @@ class StoredRemindersTest {
|
||||
val form = TaskForm(title = "t", listId = 1, start = now - 2.hours, startsNow = true)
|
||||
assertThat(stored(form, with = Settings())).isEmpty()
|
||||
assertThat(StoredReminders.pastDefaults(form, null, Settings(), now.toEpochMilliseconds(), zone)).isEmpty()
|
||||
assertThat(stored(form.copy(start = now), with = Settings())).isEmpty()
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -315,4 +316,3 @@ class StoredRemindersTest {
|
||||
.containsExactly(TaskReminder(1_440, fromStart = true))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user