|
|
|
@ -112,7 +112,7 @@ class CaldavDaoShiftTests : InjectingTestCase() {
|
|
|
|
fun ignoreDeletedTasksWhenShiftingDown() = runBlocking {
|
|
|
|
fun ignoreDeletedTasksWhenShiftingDown() = runBlocking {
|
|
|
|
val created = DateTime(2020, 5, 17, 9, 53, 17)
|
|
|
|
val created = DateTime(2020, 5, 17, 9, 53, 17)
|
|
|
|
addTask(with(CREATED, created))
|
|
|
|
addTask(with(CREATED, created))
|
|
|
|
taskDao.update(taskDao.fetch(tasks[0].id).apply { this?.deletionDate = now() }!!, null)
|
|
|
|
taskDao.update(taskDao.fetch(tasks[0].id).apply { this?.deletionDate = now() }!!)
|
|
|
|
|
|
|
|
|
|
|
|
caldavDao.shiftDown("calendar", 0, created.toAppleEpoch())
|
|
|
|
caldavDao.shiftDown("calendar", 0, created.toAppleEpoch())
|
|
|
|
|
|
|
|
|
|
|
|
|