Fix incorrect test imports (#966)

This commit is contained in:
David Perez
2024-02-06 12:54:49 -06:00
committed by GitHub
parent 9a1726aa18
commit 81c0724359
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() {