diff --git a/library-no-op/src/test/java/com/chuckerteam/chucker/api/ChuckerInterceptorTest.kt b/library-no-op/src/test/java/com/chuckerteam/chucker/api/ChuckerInterceptorTest.kt index 64e8d1cca..ae0611e10 100644 --- a/library-no-op/src/test/java/com/chuckerteam/chucker/api/ChuckerInterceptorTest.kt +++ b/library-no-op/src/test/java/com/chuckerteam/chucker/api/ChuckerInterceptorTest.kt @@ -2,7 +2,6 @@ package com.chuckerteam.chucker.api import android.content.Context import com.google.common.truth.Truth.assertThat -import io.mockk.every import io.mockk.mockk import okhttp3.OkHttpClient import okhttp3.Request @@ -14,9 +13,7 @@ import org.junit.jupiter.api.Test class ChuckerInterceptorTest { @get:Rule val server = MockWebServer() private val serverUrl = server.url("/") // Starts server implicitly - private val mockContext = mockk { - every { getString(any()) } returns "" - } + private val mockContext = mockk() private val client = OkHttpClient.Builder() .addInterceptor(ChuckerInterceptor(mockContext)) .build()