mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 09:56:45 -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.mockkStatic
|
||||
import io.mockk.runs
|
||||
import io.mockk.unmockkStatic
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import org.junit.jupiter.api.AfterEach
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
@ -41,7 +42,7 @@ class SdkCipherRepositoryTest {
|
||||
|
||||
@AfterEach
|
||||
fun tearDown() {
|
||||
mockkStatic(
|
||||
unmockkStatic(
|
||||
SyncResponseJson.Cipher::toEncryptedSdkCipher,
|
||||
Cipher::toEncryptedNetworkCipherResponse,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user