Skip to content
Snippets Groups Projects
Unverified Commit b3ec381f authored by chris-cwa's avatar chris-cwa Committed by GitHub
Browse files

release 1.5.x house keeping (#1271)

parent 5001d7a9
No related branches found
No related tags found
No related merge requests found
...@@ -44,5 +44,4 @@ class AppConfigModuleTest : BaseIOTest() { ...@@ -44,5 +44,4 @@ class AppConfigModuleTest : BaseIOTest() {
createModule() createModule()
} }
} }
} }
...@@ -6,7 +6,8 @@ import io.mockk.every ...@@ -6,7 +6,8 @@ import io.mockk.every
import io.mockk.impl.annotations.MockK import io.mockk.impl.annotations.MockK
import io.mockk.junit5.MockKExtension import io.mockk.junit5.MockKExtension
import io.mockk.verify import io.mockk.verify
import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith import org.junit.jupiter.api.extension.ExtendWith
......
...@@ -28,7 +28,6 @@ class SubmissionViewModelTest { ...@@ -28,7 +28,6 @@ class SubmissionViewModelTest {
mockkObject(LocalData) mockkObject(LocalData)
every { LocalData.testGUID(any()) } just Runs every { LocalData.testGUID(any()) } just Runs
mockkObject(BackgroundNoise.Companion) mockkObject(BackgroundNoise.Companion)
every { BackgroundNoise.getInstance() } returns backgroundNoise every { BackgroundNoise.getInstance() } returns backgroundNoise
} }
......
...@@ -94,7 +94,6 @@ class EncryptionResetToolTest : BaseIOTest() { ...@@ -94,7 +94,6 @@ class EncryptionResetToolTest : BaseIOTest() {
instance.isResetNoticeToBeShown = false instance.isResetNoticeToBeShown = false
mockPreferences.dataMapPeek["ea1851.reset.shownotice"] shouldBe false mockPreferences.dataMapPeek["ea1851.reset.shownotice"] shouldBe false
instance.isResetNoticeToBeShown shouldBe false instance.isResetNoticeToBeShown shouldBe false
} }
@Test @Test
...@@ -201,7 +200,6 @@ class EncryptionResetToolTest : BaseIOTest() { ...@@ -201,7 +200,6 @@ class EncryptionResetToolTest : BaseIOTest() {
encryptedPrefsFile.exists() shouldBe true encryptedPrefsFile.exists() shouldBe true
encryptedDatabaseFile.exists() shouldBe true encryptedDatabaseFile.exists() shouldBe true
mockPreferences.dataMapPeek.apply { mockPreferences.dataMapPeek.apply {
this["ea1851.reset.performedAt"] shouldBe null this["ea1851.reset.performedAt"] shouldBe null
this["ea1851.reset.windowconsumed"] shouldBe true this["ea1851.reset.windowconsumed"] shouldBe true
...@@ -268,5 +266,4 @@ class EncryptionResetToolTest : BaseIOTest() { ...@@ -268,5 +266,4 @@ class EncryptionResetToolTest : BaseIOTest() {
this["ea1851.reset.shownotice"] shouldBe null this["ea1851.reset.shownotice"] shouldBe null
} }
} }
} }
...@@ -94,5 +94,4 @@ class SecurityHelperTest : BaseTest() { ...@@ -94,5 +94,4 @@ class SecurityHelperTest : BaseTest() {
errorResetTool.tryResetIfNecessary(ourException!!) errorResetTool.tryResetIfNecessary(ourException!!)
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment