Skip to content

Commit 355aca7

Browse files
izeyerstoyanchev
authored andcommitted
Fix DelegatingWebMvcConfigurationTests.configurePathPatternParser()
1 parent ec5f99f commit 355aca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {
340340

341341
assertThat(beanNameMapping).isNotNull();
342342
assertThat(beanNameMapping.getPatternParser()).isSameAs(patternParser);
343-
configAssertion.accept(beanNameMapping.getUrlPathHelper(), mapping.getPathMatcher());
343+
configAssertion.accept(beanNameMapping.getUrlPathHelper(), beanNameMapping.getPathMatcher());
344344

345345
assertThat(webMvcConfig.mvcResourceUrlProvider().getUrlPathHelper()).isSameAs(pathHelper);
346346
assertThat(webMvcConfig.mvcResourceUrlProvider().getPathMatcher()).isSameAs(pathMatcher);

0 commit comments

Comments
 (0)