mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 04:39:19 -06:00
Ensure unmockk static is called in test teardown (#4142)
This commit is contained in:
parent
fa248243b6
commit
51c87625cb
@ -22,6 +22,7 @@ import io.mockk.confirmVerified
|
||||
import io.mockk.every
|
||||
import io.mockk.mockk
|
||||
import io.mockk.mockkStatic
|
||||
import io.mockk.unmockkStatic
|
||||
import io.mockk.verify
|
||||
import kotlinx.coroutines.async
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
@ -116,6 +117,7 @@ class AuthenticatorBridgeRepositoryTest {
|
||||
@AfterEach
|
||||
fun teardown() {
|
||||
confirmVerified(authRepository, vaultSdkSource, vaultRepository, vaultDiskSource)
|
||||
unmockkStatic(SyncResponseJson.Cipher::toEncryptedSdkCipher)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user