mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Ensure unmockk static is called in test teardown (#4142)
This commit is contained in:
parent
fa248243b6
commit
51c87625cb
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ import io.mockk.confirmVerified
|
||||||
import io.mockk.every
|
import io.mockk.every
|
||||||
import io.mockk.mockk
|
import io.mockk.mockk
|
||||||
import io.mockk.mockkStatic
|
import io.mockk.mockkStatic
|
||||||
|
import io.mockk.unmockkStatic
|
||||||
import io.mockk.verify
|
import io.mockk.verify
|
||||||
import kotlinx.coroutines.async
|
import kotlinx.coroutines.async
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
|
@ -116,6 +117,7 @@ class AuthenticatorBridgeRepositoryTest {
|
||||||
@AfterEach
|
@AfterEach
|
||||||
fun teardown() {
|
fun teardown() {
|
||||||
confirmVerified(authRepository, vaultSdkSource, vaultRepository, vaultDiskSource)
|
confirmVerified(authRepository, vaultSdkSource, vaultRepository, vaultDiskSource)
|
||||||
|
unmockkStatic(SyncResponseJson.Cipher::toEncryptedSdkCipher)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue