Pārlūkot izejas kodu

Polish ExchangeMutatorWebFilter usage

Rob Winch 8 gadi atpakaļ
vecāks
revīzija
6aa7f05579

+ 0 - 1
samples/javaconfig/hellowebflux/src/test/java/sample/HelloWebfluxApplicationTests.java

@@ -165,7 +165,6 @@ public class HelloWebfluxApplicationTests {
 		WebTestClient mockRest = WebTestClient.bindToApplicationContext(this.context).webFilter(exchangeMutator).build();
 
 		mockRest
-			.filter(exchangeMutator.perClient(withUser()))
 			.get()
 			.uri("/principal")
 			.exchange()

+ 0 - 1
samples/javaconfig/hellowebfluxfn/src/test/java/sample/HelloWebfluxFnApplicationTests.java

@@ -171,7 +171,6 @@ public class HelloWebfluxFnApplicationTests {
 		WebTestClient mockRest = WebTestClient.bindToRouterFunction(this.routerFunction).webFilter(exchangeMutator).build();
 
 		mockRest
-			.filter(exchangeMutator.perClient(withUser()))
 			.get()
 			.uri("/principal")
 			.exchange()