From 6aa7f0557999340cfb2b9641516bb29e7bbb4c71 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 30 May 2017 16:37:01 -0500 Subject: [PATCH] Polish ExchangeMutatorWebFilter usage --- .../src/test/java/sample/HelloWebfluxApplicationTests.java | 1 - .../src/test/java/sample/HelloWebfluxFnApplicationTests.java | 1 - 2 files changed, 2 deletions(-) diff --git a/samples/javaconfig/hellowebflux/src/test/java/sample/HelloWebfluxApplicationTests.java b/samples/javaconfig/hellowebflux/src/test/java/sample/HelloWebfluxApplicationTests.java index aa12706da9..f22a7d3485 100644 --- a/samples/javaconfig/hellowebflux/src/test/java/sample/HelloWebfluxApplicationTests.java +++ b/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() diff --git a/samples/javaconfig/hellowebfluxfn/src/test/java/sample/HelloWebfluxFnApplicationTests.java b/samples/javaconfig/hellowebfluxfn/src/test/java/sample/HelloWebfluxFnApplicationTests.java index 32311009d3..b182ab66d8 100644 --- a/samples/javaconfig/hellowebfluxfn/src/test/java/sample/HelloWebfluxFnApplicationTests.java +++ b/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()