Add missing unmockk calls in various unit tests.

This commit is contained in:
Cody Henthorne
2025-08-05 13:40:50 -04:00
parent 949bc8fb95
commit f8b18b6ea9
4 changed files with 17 additions and 1 deletions

View File

@@ -5,8 +5,10 @@ import io.mockk.every
import io.mockk.mockk
import io.mockk.mockkObject
import io.mockk.mockkStatic
import io.mockk.unmockkAll
import io.mockk.verify
import io.reactivex.rxjava3.core.Single
import org.junit.After
import org.junit.Before
import org.junit.BeforeClass
import org.junit.Rule
@@ -90,6 +92,11 @@ class SafetyNumberRepositoryTest {
every { Recipient.self() } returns recipientPool[0]
}
@After
fun tearDown() {
unmockkAll()
}
/**
* Batch request for a current identity key should return an empty list and not perform any identity key updates.
*/