mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Improved the CopyMoveFileHandlerTest
.
This commit is contained in:
parent
c570fc918a
commit
a968e380e8
@ -19,6 +19,7 @@
|
||||
package org.kiwix.kiwixmobile.localLibrary
|
||||
|
||||
import android.app.Activity
|
||||
import androidx.documentfile.provider.DocumentFile
|
||||
import io.mockk.Runs
|
||||
import io.mockk.clearAllMocks
|
||||
import io.mockk.every
|
||||
@ -58,7 +59,7 @@ class CopyMoveFileHandlerTest {
|
||||
private val testDispatcher = StandardTestDispatcher()
|
||||
private val testScope = TestScope(testDispatcher)
|
||||
private val storageFile: File = mockk(relaxed = true)
|
||||
private val selectedFile: File = mockk(relaxed = true)
|
||||
private val selectedFile: DocumentFile = mockk(relaxed = true)
|
||||
private val storagePath = "storage/0/emulated/Android/media/org.kiwix.kiwixmobile"
|
||||
|
||||
@BeforeEach
|
||||
|
Loading…
x
Reference in New Issue
Block a user