Skip to content

Commit c88d1cd

Browse files
JanCizmarclaude
andcommitted
style: replace FQCN with import for HttpHeaders in test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e2dce30 commit c88d1cd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ee/backend/tests/src/test/kotlin/io/tolgee/ee/unit/AnthropicApiServiceTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import io.tolgee.model.enums.LlmProviderType
1010
import org.assertj.core.api.Assertions.assertThat
1111
import org.junit.jupiter.api.BeforeEach
1212
import org.junit.jupiter.api.Test
13+
import org.springframework.http.HttpHeaders
1314
import org.springframework.http.HttpMethod
1415
import org.springframework.http.HttpStatus
1516
import org.springframework.http.MediaType
@@ -144,7 +145,7 @@ class AnthropicApiServiceTest {
144145
private val onBody: (String) -> Unit,
145146
) : ClientHttpRequest {
146147
private val outputStream = ByteArrayOutputStream()
147-
private val headers = org.springframework.http.HttpHeaders()
148+
private val headers = HttpHeaders()
148149

149150
override fun getMethod() = httpMethod
150151

@@ -166,7 +167,7 @@ class AnthropicApiServiceTest {
166167
private val body: String,
167168
) : ClientHttpResponse {
168169
private val headers =
169-
org.springframework.http.HttpHeaders().apply {
170+
HttpHeaders().apply {
170171
contentType = MediaType.APPLICATION_JSON
171172
}
172173

0 commit comments

Comments
 (0)