|
|
|
@ -444,7 +444,8 @@ class WebFluxAutoConfigurationTests {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
void welcomePageHandlerMapping() {
|
|
|
|
|
this.contextRunner.withPropertyValues("spring.resources.static-locations=classpath:/welcome-page/").run((context) -> {
|
|
|
|
|
this.contextRunner.withPropertyValues("spring.resources.static-locations=classpath:/welcome-page/")
|
|
|
|
|
.run((context) -> {
|
|
|
|
|
assertThat(context).getBeans(RouterFunctionMapping.class).hasSize(2);
|
|
|
|
|
assertThat(context.getBean("welcomePageRouterFunctionMapping", HandlerMapping.class)).isNotNull()
|
|
|
|
|
.extracting("order").isEqualTo(1);
|
|
|
|
|