diff --git a/config/src/test/java/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfigurationTests.java b/config/src/test/java/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfigurationTests.java index c75a3c2c0e3..7910b16de54 100644 --- a/config/src/test/java/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfigurationTests.java +++ b/config/src/test/java/org/springframework/security/config/annotation/method/configuration/PrePostMethodSecurityConfigurationTests.java @@ -1271,7 +1271,7 @@ PrePostTemplateDefaults methodSecurityDefaults() { } @Bean - MetaAnnotationService methodSecurityService() { + MetaAnnotationService metaAnnotationService() { return new MetaAnnotationService(); }