diff --git a/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java b/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java index bae23445e5..c3aeec5527 100644 --- a/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java +++ b/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java @@ -455,11 +455,6 @@ class ComponentScanAnnotatedConfig_WithValueAttribute { } } -@Configuration -@ComponentScan -class ComponentScanWithNoPackagesConfig { -} - @Configuration @ComponentScan(basePackages = "example.scannable", nameGenerator = MyBeanNameGenerator.class) class ComponentScanWithBeanNameGenerator {