File tree Expand file tree Collapse file tree 10 files changed +17
-14
lines changed
src/test/kotlin/com/adobe/testing/s3mock Expand file tree Collapse file tree 10 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 126126 <!-- Run Docker build by default -->
127127 <skipDocker >false</skipDocker >
128128 <sortpom-maven-plugin .version>4.0.0</sortpom-maven-plugin .version>
129- <!-- TODO: update to 4.0.0 after Spring Boot 4 release in November -->
130- <spring-boot .version>4.0.0-M3</spring-boot .version>
129+ <spring-boot .version>4.0.0-RC2</spring-boot .version>
131130 <testcontainers .version>1.21.3</testcontainers .version>
132131 <testng .version>7.11.0</testng .version>
133132 <xmlunit-assertj3 .version>2.11.0</xmlunit-assertj3 .version>
Original file line number Diff line number Diff line change 140140 <artifactId >spring-boot-starter-test</artifactId >
141141 <scope >test</scope >
142142 </dependency >
143+ <dependency >
144+ <groupId >org.springframework.boot</groupId >
145+ <artifactId >spring-boot-webmvc-test</artifactId >
146+ <scope >test</scope >
147+ </dependency >
143148 <dependency >
144149 <groupId >org.springframework.boot</groupId >
145150 <artifactId >spring-boot-starter-restclient</artifactId >
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ import org.mockito.kotlin.eq
6464import org.mockito.kotlin.verify
6565import org.mockito.kotlin.whenever
6666import org.springframework.beans.factory.annotation.Autowired
67- import org.springframework.boot.test.autoconfigure.web.servlet .WebMvcTest
67+ import org.springframework.boot.webmvc. test.autoconfigure.WebMvcTest
6868import org.springframework.http.MediaType
6969import org.springframework.test.context.bean.override.mockito.MockitoBean
7070import org.springframework.test.web.servlet.MockMvc
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import com.adobe.testing.s3mock.store.MultipartStore
2626import org.junit.jupiter.api.Test
2727import org.mockito.kotlin.whenever
2828import org.springframework.beans.factory.annotation.Autowired
29- import org.springframework.boot.test.autoconfigure.web.servlet .WebMvcTest
29+ import org.springframework.boot.webmvc. test.autoconfigure.WebMvcTest
3030import org.springframework.http.MediaType
3131import org.springframework.test.context.bean.override.mockito.MockitoBean
3232import org.springframework.test.web.servlet.MockMvc
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ package com.adobe.testing.s3mock.controller
1818import com.adobe.testing.s3mock.store.KmsKeyStore
1919import org.junit.jupiter.api.Test
2020import org.springframework.beans.factory.annotation.Autowired
21- import org.springframework.boot.test.autoconfigure.web.servlet .WebMvcTest
21+ import org.springframework.boot.webmvc. test.autoconfigure.WebMvcTest
2222import org.springframework.http.MediaType
2323import org.springframework.test.context.bean.override.mockito.MockitoBean
2424import org.springframework.test.web.servlet.MockMvc
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import com.adobe.testing.s3mock.dto.StorageClass
3232import com.adobe.testing.s3mock.dto.Tag
3333import com.adobe.testing.s3mock.dto.VersioningConfiguration
3434import com.adobe.testing.s3mock.service.BucketService
35- import com.adobe.testing.s3mock.service.FileChecksum
3635import com.adobe.testing.s3mock.service.MultipartService
3736import com.adobe.testing.s3mock.service.ObjectService
3837import com.adobe.testing.s3mock.store.KmsKeyStore
@@ -46,7 +45,7 @@ import org.mockito.kotlin.eq
4645import org.mockito.kotlin.isA
4746import org.mockito.kotlin.whenever
4847import org.springframework.beans.factory.annotation.Autowired
49- import org.springframework.boot.test.autoconfigure.web.servlet .WebMvcTest
48+ import org.springframework.boot.webmvc. test.autoconfigure.WebMvcTest
5049import org.springframework.http.HttpHeaders
5150import org.springframework.http.MediaType
5251import org.springframework.test.context.bean.override.mockito.MockitoBean
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ import org.mockito.kotlin.isNull
5454import org.mockito.kotlin.verify
5555import org.mockito.kotlin.whenever
5656import org.springframework.beans.factory.annotation.Autowired
57- import org.springframework.boot.test.autoconfigure.web.servlet .WebMvcTest
57+ import org.springframework.boot.webmvc. test.autoconfigure.WebMvcTest
5858import org.springframework.http.HttpHeaders
5959import org.springframework.http.MediaType
6060import org.springframework.mock.web.MockMultipartFile
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ import org.assertj.core.api.Assertions.assertThatThrownBy
3636import org.junit.jupiter.api.AfterEach
3737import org.junit.jupiter.api.Test
3838import org.springframework.beans.factory.annotation.Autowired
39- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
40- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc
4139import org.springframework.boot.test.context.SpringBootTest
40+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
41+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc
4242import org.springframework.test.context.bean.override.mockito.MockitoBean
4343
4444@AutoConfigureWebMvc
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ import org.junit.jupiter.api.Test
3434import org.junit.jupiter.api.parallel.Execution
3535import org.junit.jupiter.api.parallel.ExecutionMode
3636import org.springframework.beans.factory.annotation.Autowired
37- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
38- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc
3937import org.springframework.boot.test.context.SpringBootTest
38+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
39+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc
4040import org.springframework.http.HttpRange
4141import org.springframework.http.MediaType
4242import org.springframework.test.context.bean.override.mockito.MockitoBean
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ import org.junit.jupiter.api.Test
3737import org.junit.jupiter.api.parallel.Execution
3838import org.junit.jupiter.api.parallel.ExecutionMode
3939import org.springframework.beans.factory.annotation.Autowired
40- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
41- import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc
4240import org.springframework.boot.test.context.SpringBootTest
41+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
42+ import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc
4343import org.springframework.http.HttpHeaders
4444import org.springframework.test.context.bean.override.mockito.MockitoBean
4545import java.io.File
You can’t perform that action at this time.
0 commit comments