Fix DelegatingWebMvcConfigurationTests.configurePathPatternParser()

This commit is contained in:
izeye
2021-01-26 23:58:06 +09:00
committed by Rossen Stoyanchev
parent ec5f99f981
commit 355aca7665

View File

@@ -340,7 +340,7 @@ public class DelegatingWebMvcConfigurationTests {
assertThat(beanNameMapping).isNotNull();
assertThat(beanNameMapping.getPatternParser()).isSameAs(patternParser);
configAssertion.accept(beanNameMapping.getUrlPathHelper(), mapping.getPathMatcher());
configAssertion.accept(beanNameMapping.getUrlPathHelper(), beanNameMapping.getPathMatcher());
assertThat(webMvcConfig.mvcResourceUrlProvider().getUrlPathHelper()).isSameAs(pathHelper);
assertThat(webMvcConfig.mvcResourceUrlProvider().getPathMatcher()).isSameAs(pathMatcher);