mirror of
https://github.com/bitwarden/android.git
synced 2026-05-21 03:21:29 -05:00
Fix incorrect test imports (#966)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user