diff --git a/backend/src/test/java/de/neuefische/koheis/backend/converter/ConvertIntegrationTest.java b/backend/src/test/java/de/neuefische/koheis/backend/converter/ConvertIntegrationTest.java index 5bbbf5c..1cbb4c0 100644 --- a/backend/src/test/java/de/neuefische/koheis/backend/converter/ConvertIntegrationTest.java +++ b/backend/src/test/java/de/neuefische/koheis/backend/converter/ConvertIntegrationTest.java @@ -1,9 +1,6 @@ package de.neuefische.koheis.backend.converter; import de.neuefische.koheis.backend.translation.Translation; -import okhttp3.mockwebserver.MockResponse; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.springframework.beans.factory.annotation.Autowired; @@ -12,18 +9,10 @@ import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.http.MediaType; import org.springframework.security.test.context.support.WithMockUser; -import org.springframework.test.context.DynamicPropertyRegistry; -import org.springframework.test.context.DynamicPropertySource; import org.springframework.test.web.servlet.MockMvc; import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.test.web.servlet.result.MockMvcResultMatchers; -import okhttp3.mockwebserver.MockWebServer; - -import java.io.IOException; - -import static org.mockito.Mockito.when; import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.csrf; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; @SpringBootTest @AutoConfigureMockMvc