There was an error while loading. Please reload this page.
1 parent d1cb325 commit 4bf34b2Copy full SHA for 4bf34b2
1 file changed
app/src/test/java/com/phpbg/easysync/worker/SyncServiceTest.kt
@@ -289,15 +289,4 @@ class SyncServiceTest {
289
290
verify(fileDao, never()).findByName(any())
291
}
292
-
293
- @Test
294
- fun `handleWorkerException should insert error into DAO`() = runTest {
295
- val exception = Exception("Test error")
296
- val path = "/some/path"
297
- whenever(context.getString(any())).doReturn("string")
298
299
- syncService.handleWorkerException(context, exception, path)
300
301
- verify(errorDao).insertAll(any())
302
- }
303
0 commit comments