mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix DelegatingWebMvcConfigurationTests.configurePathPatternParser()
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user