Commit d8ba7dd4 authored by dreis2211's avatar dreis2211 Committed by Stephane Nicoll

Remove unused methods

See gh-23086
parent d133f228
...@@ -121,15 +121,6 @@ class WelcomePageRouterFunctionFactoryTests { ...@@ -121,15 +121,6 @@ class WelcomePageRouterFunctionFactoryTests {
.isEqualTo("welcome-page-static"); .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() { private WebTestClient withStaticIndex() {
WelcomePageRouterFunctionFactory factory = factoryWithoutTemplateSupport(this.indexLocations, "/**"); WelcomePageRouterFunctionFactory factory = factoryWithoutTemplateSupport(this.indexLocations, "/**");
return WebTestClient.bindToRouterFunction(factory.createRouterFunction()).build(); return WebTestClient.bindToRouterFunction(factory.createRouterFunction()).build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment