Merge branch '2.3.x'

Closes gh-23088
This commit is contained in:
Stephane Nicoll 2020-08-26 10:00:24 +02:00
commit 28b938a229
1 changed files with 0 additions and 9 deletions

View File

@ -121,15 +121,6 @@ class WelcomePageRouterFunctionFactoryTests {
.isEqualTo("welcome-page-static");
}
private WebTestClient createClient(WelcomePageRouterFunctionFactory factory) {
return WebTestClient.bindToRouterFunction(factory.createRouterFunction()).build();
}
private WebTestClient createClient(WelcomePageRouterFunctionFactory factory, ViewResolver viewResolver) {
return WebTestClient.bindToRouterFunction(factory.createRouterFunction())
.handlerStrategies(HandlerStrategies.builder().viewResolver(viewResolver).build()).build();
}
private WebTestClient withStaticIndex() {
WelcomePageRouterFunctionFactory factory = factoryWithoutTemplateSupport(this.indexLocations, "/**");
return WebTestClient.bindToRouterFunction(factory.createRouterFunction()).build();