From 8607f9556a8e7e3e05aeefc3a9cb4c338bd92db5 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Sat, 18 May 2024 02:45:03 -0500 Subject: [PATCH] Fix test --- .../java/org/tasks/opentasks/OpenTasksPropertiesTests.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/androidTest/java/org/tasks/opentasks/OpenTasksPropertiesTests.kt b/app/src/androidTest/java/org/tasks/opentasks/OpenTasksPropertiesTests.kt index ce243b82b..e6373d67b 100644 --- a/app/src/androidTest/java/org/tasks/opentasks/OpenTasksPropertiesTests.kt +++ b/app/src/androidTest/java/org/tasks/opentasks/OpenTasksPropertiesTests.kt @@ -282,7 +282,9 @@ class OpenTasksPropertiesTests : OpenTasksTest() { fun removeSnoozeTime() = runBlocking { val (listId, list) = withVtodo(SNOOZED) - synchronizer.sync() + withTZ(CHICAGO) { + synchronizer.sync() + } val task = caldavDao.getTaskByRemoteId(list.uuid!!, "4CBBC669-70E3-474D-A0A3-0FC42A14A5A5") ?: throw IllegalStateException("Missing task")