File tree Expand file tree Collapse file tree
spring-cloud-function-adapters/spring-cloud-function-adapter-aws
spring-cloud-function-samples
function-sample-spring-integration
src/test/java/com/example Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898 <artifactId >spring-cloud-function-web</artifactId >
9999 <optional >true</optional >
100100 </dependency >
101+ <dependency >
102+ <groupId >org.springframework.boot</groupId >
103+ <artifactId >spring-boot-starter-webflux</artifactId >
104+ </dependency >
101105 <dependency >
102106 <groupId >org.springframework.boot</groupId >
103107 <artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 3232 <groupId >org.springframework.boot</groupId >
3333 <artifactId >spring-boot-starter-web</artifactId >
3434 </dependency >
35+ <dependency >
36+ <groupId >org.springframework.boot</groupId >
37+ <artifactId >spring-boot-starter-webflux</artifactId >
38+ </dependency >
3539 <dependency >
3640 <groupId >org.springframework.boot</groupId >
3741 <artifactId >spring-boot-configuration-processor</artifactId >
Original file line number Diff line number Diff line change 3232 <groupId >org.springframework.boot</groupId >
3333 <artifactId >spring-boot-starter-integration</artifactId >
3434 </dependency >
35-
35+ <dependency >
36+ <groupId >org.springframework.boot</groupId >
37+ <artifactId >spring-boot-starter-web</artifactId >
38+ </dependency >
39+ <dependency >
40+ <groupId >org.springframework.boot</groupId >
41+ <artifactId >spring-boot-starter-webflux</artifactId >
42+ </dependency >
3643 <dependency >
3744 <groupId >org.springframework.boot</groupId >
3845 <artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 2828 <groupId >org.springframework.boot</groupId >
2929 <artifactId >spring-boot-starter-actuator</artifactId >
3030 </dependency >
31+ <dependency >
32+ <groupId >org.springframework.boot</groupId >
33+ <artifactId >spring-boot-starter-web</artifactId >
34+ </dependency >
35+ <dependency >
36+ <groupId >org.springframework.boot</groupId >
37+ <artifactId >spring-boot-starter-webflux</artifactId >
38+ </dependency >
3139 <dependency >
3240 <groupId >org.springframework.cloud</groupId >
3341 <artifactId >spring-cloud-starter-function-webflux</artifactId >
Original file line number Diff line number Diff line change 33import org .junit .jupiter .api .Test ;
44import org .springframework .beans .factory .annotation .Autowired ;
55import org .springframework .boot .test .autoconfigure .web .reactive .AutoConfigureWebTestClient ;
6+ import org .springframework .boot .test .context .SpringBootTest ;
67import org .springframework .cloud .function .context .test .FunctionalSpringBootTest ;
78import org .springframework .http .MediaType ;
89import org .springframework .test .web .reactive .server .WebTestClient ;
1213import java .util .ArrayList ;
1314import java .util .List ;
1415
15- @ FunctionalSpringBootTest
16+ @ FunctionalSpringBootTest ( webEnvironment = SpringBootTest . WebEnvironment . RANDOM_PORT )
1617@ AutoConfigureWebTestClient
1718public class WebTestClientTests {
1819
You can’t perform that action at this time.
0 commit comments