Fix test?

pull/2906/head
Alex Baker 2 years ago
parent 8607f9556a
commit c82dfc7d39

@ -279,12 +279,10 @@ class OpenTasksPropertiesTests : OpenTasksTest() {
} }
@Test @Test
fun removeSnoozeTime() = runBlocking { fun removeSnoozeTime() = withTZ(CHICAGO) {
val (listId, list) = withVtodo(SNOOZED) val (listId, list) = withVtodo(SNOOZED)
withTZ(CHICAGO) { synchronizer.sync()
synchronizer.sync()
}
val task = caldavDao.getTaskByRemoteId(list.uuid!!, "4CBBC669-70E3-474D-A0A3-0FC42A14A5A5") val task = caldavDao.getTaskByRemoteId(list.uuid!!, "4CBBC669-70E3-474D-A0A3-0FC42A14A5A5")
?: throw IllegalStateException("Missing task") ?: throw IllegalStateException("Missing task")

Loading…
Cancel
Save