Fix incorrect test imports (#966)

This commit is contained in:
David Perez 2024-02-06 12:54:49 -06:00 committed by Álison Fernandes
parent 1e13c4e10f
commit 8b7d1bfc51
3 changed files with 4 additions and 4 deletions

View file

@ -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()
}

View file

@ -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

View file

@ -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() {