mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 04:39:19 -06:00
Fix unmockkStatic usage in SdkCipherRepositoryTest (#5534)
This commit is contained in:
parent
b53ca30974
commit
2d2a5e74da
@ -13,6 +13,7 @@ import io.mockk.just
|
|||||||
import io.mockk.mockk
|
import io.mockk.mockk
|
||||||
import io.mockk.mockkStatic
|
import io.mockk.mockkStatic
|
||||||
import io.mockk.runs
|
import io.mockk.runs
|
||||||
|
import io.mockk.unmockkStatic
|
||||||
import kotlinx.coroutines.test.runTest
|
import kotlinx.coroutines.test.runTest
|
||||||
import org.junit.jupiter.api.AfterEach
|
import org.junit.jupiter.api.AfterEach
|
||||||
import org.junit.jupiter.api.Assertions.assertEquals
|
import org.junit.jupiter.api.Assertions.assertEquals
|
||||||
@ -41,7 +42,7 @@ class SdkCipherRepositoryTest {
|
|||||||
|
|
||||||
@AfterEach
|
@AfterEach
|
||||||
fun tearDown() {
|
fun tearDown() {
|
||||||
mockkStatic(
|
unmockkStatic(
|
||||||
SyncResponseJson.Cipher::toEncryptedSdkCipher,
|
SyncResponseJson.Cipher::toEncryptedSdkCipher,
|
||||||
Cipher::toEncryptedNetworkCipherResponse,
|
Cipher::toEncryptedNetworkCipherResponse,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user