From 355aca7665cb524d2e8760194ef6c98620acbbe5 Mon Sep 17 00:00:00 2001 From: izeye Date: Tue, 26 Jan 2021 23:58:06 +0900 Subject: [PATCH] Fix DelegatingWebMvcConfigurationTests.configurePathPatternParser() --- .../config/annotation/DelegatingWebMvcConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java index a12fb97cd0..5a5daeaadf 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfigurationTests.java @@ -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);