mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 03:11:10 +01:00
Add missing unmockk calls in various unit tests.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user