mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fixed fragile tests for @Bean method overloading
This commit is contained in:
+1
-1
@@ -250,7 +250,7 @@ public class BeanMethodPolymorphismTests {
|
||||
return "regular";
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Bean @Lazy
|
||||
String aString(Integer dependency) {
|
||||
return "overloaded" + dependency;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user