Disable jobmanager during backup tests.

This commit is contained in:
Greyson Parrelli
2024-10-03 11:31:25 -04:00
parent 1db7358bfa
commit 21383e7ba5

View File

@@ -10,6 +10,7 @@ import androidx.test.platform.app.InstrumentationRegistry
import com.github.difflib.DiffUtils
import com.github.difflib.UnifiedDiffUtils
import junit.framework.Assert.assertTrue
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.signal.core.util.Base64
@@ -46,6 +47,11 @@ class ArchiveImportExportTests {
val MASTER_KEY = Base64.decode("sHuBMP4ToZk4tcNU+S8eBUeCt8Am5EZnvuqTBJIR4Do")
}
@Before
fun setup() {
AppDependencies.jobManager.shutdown()
}
@Test
fun all() {
runTests()