Skip to content

Commit

Permalink
Opt in to ExperimentalOkHttpApi for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
janseeger committed Apr 23, 2024
1 parent 17bb2dd commit a889018
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import mockwebserver3.MockResponse
import mockwebserver3.MockWebServer
import mockwebserver3.junit5.internal.MockWebServerExtension
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.ExperimentalOkHttpApi
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
Expand All @@ -17,7 +18,7 @@ import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

@OptIn(ExperimentalSerializationApi::class)
@OptIn(ExperimentalSerializationApi::class, ExperimentalOkHttpApi::class)
@ExtendWith(MockWebServerExtension::class)
class KotlinSerializationConverterFactoryStringTest {
private lateinit var service: Service
Expand Down

0 comments on commit a889018

Please sign in to comment.