Skip to content

Commit 4bf34b2

Browse files
committed
Remove unit test
1 parent d1cb325 commit 4bf34b2

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

app/src/test/java/com/phpbg/easysync/worker/SyncServiceTest.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,4 @@ class SyncServiceTest {
289289

290290
verify(fileDao, never()).findByName(any())
291291
}
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-
}
303292
}

0 commit comments

Comments
 (0)