mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
Polish ExchangeMutatorWebFilter usage
This commit is contained in:
parent
545339c663
commit
6aa7f05579
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user