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 c75a3c2c0e..7910b16de5 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 @@ public class PrePostMethodSecurityConfigurationTests { } @Bean - MetaAnnotationService methodSecurityService() { + MetaAnnotationService metaAnnotationService() { return new MetaAnnotationService(); }