Skip to content

Commit cbde0c5

Browse files
committed
AutoConfigureWebTestClient -> webtestclient
1 parent 165e605 commit cbde0c5

File tree

26 files changed

+26
-15
lines changed

26 files changed

+26
-15
lines changed

reactive/webflux-fn/hello-security/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies {
1919

2020
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2121
testImplementation 'org.springframework.boot:spring-boot-webflux-test'
22+
testImplementation 'org.springframework.boot:spring-boot-webtestclient'
2223
testImplementation 'org.springframework.boot:spring-boot-security-test'
2324
testImplementation 'org.springframework.security:spring-security-test'
2425
}

reactive/webflux-fn/hello-security/src/test/java/example/HelloTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import org.springframework.beans.factory.annotation.Autowired;
2222
import org.springframework.boot.test.context.SpringBootTest;
23-
import org.springframework.boot.webtestclient.AutoConfigureWebTestClient;
23+
import org.springframework.boot.webtestclient.autoconfigure.AutoConfigureWebTestClient;
2424
import org.springframework.security.test.context.support.WithMockUser;
2525
import org.springframework.test.web.reactive.server.WebTestClient;
2626

reactive/webflux-fn/hello/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies {
1717
implementation 'org.springframework.boot:spring-boot-starter-webflux'
1818

1919
testImplementation 'org.springframework.boot:spring-boot-starter-test'
20+
testImplementation 'org.springframework.boot:spring-boot-webtestclient'
2021
testImplementation 'org.springframework.boot:spring-boot-webflux-test'
2122
}
2223

reactive/webflux-fn/hello/src/test/java/example/HelloTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import org.springframework.beans.factory.annotation.Autowired;
2222
import org.springframework.boot.test.context.SpringBootTest;
23-
import org.springframework.boot.webtestclient.AutoConfigureWebTestClient;
23+
import org.springframework.boot.webtestclient.autoconfigure.AutoConfigureWebTestClient;
2424
import org.springframework.test.web.reactive.server.WebTestClient;
2525

2626
/**

reactive/webflux/java/authentication/one-time-token/magic-link/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies {
2424
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
2525
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2626
testImplementation 'org.springframework.boot:spring-boot-webflux-test'
27+
testImplementation 'org.springframework.boot:spring-boot-webtestclient'
2728
testImplementation 'org.springframework.boot:spring-boot-security-test'
2829
testImplementation 'org.springframework.security:spring-security-test'
2930
testImplementation 'com.icegreen:greenmail-junit5:2.0.1'

reactive/webflux/java/authentication/one-time-token/magic-link/src/test/java/org/example/magiclink/MagicLinkApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
import org.springframework.beans.factory.annotation.Autowired;
2727
import org.springframework.boot.test.context.SpringBootTest;
28-
import org.springframework.boot.webtestclient.AutoConfigureWebTestClient;
28+
import org.springframework.boot.webtestclient.autoconfigure.AutoConfigureWebTestClient;
2929
import org.springframework.test.web.reactive.server.WebTestClient;
3030
import org.springframework.web.reactive.function.BodyInserters;
3131
import org.springframework.web.util.UriComponents;

reactive/webflux/java/hello-security-explicit/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies {
1919

2020
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2121
testImplementation 'org.springframework.boot:spring-boot-webflux-test'
22+
testImplementation 'org.springframework.boot:spring-boot-webtestclient'
2223
testImplementation 'org.springframework.boot:spring-boot-security-test'
2324
testImplementation 'org.springframework.security:spring-security-test'
2425

reactive/webflux/java/hello-security-explicit/src/test/java/example/HelloSecurityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import org.springframework.beans.factory.annotation.Autowired;
2222
import org.springframework.boot.test.context.SpringBootTest;
23-
import org.springframework.boot.webtestclient.AutoConfigureWebTestClient;
23+
import org.springframework.boot.webtestclient.autoconfigure.AutoConfigureWebTestClient;
2424
import org.springframework.security.test.context.support.WithMockUser;
2525
import org.springframework.test.web.reactive.server.WebTestClient;
2626

reactive/webflux/java/hello-security/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies {
1919

2020
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2121
testImplementation 'org.springframework.boot:spring-boot-webflux-test'
22+
testImplementation 'org.springframework.boot:spring-boot-webtestclient'
2223
testImplementation 'org.springframework.boot:spring-boot-security-test'
2324
testImplementation 'org.springframework.security:spring-security-test'
2425
}

reactive/webflux/java/hello-security/src/test/java/example/HelloSecurityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import org.springframework.beans.factory.annotation.Autowired;
2222
import org.springframework.boot.test.context.SpringBootTest;
23-
import org.springframework.boot.webtestclient.AutoConfigureWebTestClient;
23+
import org.springframework.boot.webtestclient.autoconfigure.AutoConfigureWebTestClient;
2424
import org.springframework.security.test.context.support.WithMockUser;
2525
import org.springframework.test.web.reactive.server.WebTestClient;
2626

0 commit comments

Comments
 (0)