mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Fix incorrect test imports (#966)
This commit is contained in:
parent
1e13c4e10f
commit
8b7d1bfc51
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ package com.x8bit.bitwarden.data.platform.datasource.network.core
|
|||
import kotlinx.coroutines.runBlocking
|
||||
import okhttp3.mockwebserver.MockResponse
|
||||
import okhttp3.mockwebserver.MockWebServer
|
||||
import org.junit.After
|
||||
import org.junit.jupiter.api.AfterEach
|
||||
import org.junit.jupiter.api.Assertions.assertTrue
|
||||
import org.junit.jupiter.api.Test
|
||||
import retrofit2.Retrofit
|
||||
|
@ -21,7 +21,7 @@ class ResultCallAdapterTest {
|
|||
.build()
|
||||
.create()
|
||||
|
||||
@After
|
||||
@AfterEach
|
||||
fun after() {
|
||||
server.shutdown()
|
||||
}
|
||||
|
|
|
@ -5,8 +5,8 @@ import com.x8bit.bitwarden.data.platform.datasource.network.api.PushApi
|
|||
import com.x8bit.bitwarden.data.platform.datasource.network.model.PushTokenRequest
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import okhttp3.mockwebserver.MockResponse
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Test
|
||||
import retrofit2.create
|
||||
import java.util.UUID
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import com.x8bit.bitwarden.data.vault.datasource.network.api.SyncApi
|
|||
import com.x8bit.bitwarden.data.vault.datasource.network.model.createMockSyncResponse
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import okhttp3.mockwebserver.MockResponse
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.Assertions.assertEquals
|
||||
import org.junit.jupiter.api.Test
|
||||
import retrofit2.create
|
||||
|
||||
class SyncServiceTest : BaseServiceTest() {
|
||||
|
|
Loading…
Reference in a new issue