Fix failing tests
See gh-6897
This commit is contained in:
@@ -67,7 +67,8 @@ final class SpringBootConfigurationFinder {
|
||||
Set<BeanDefinition> components = this.scanner.findCandidateComponents(source);
|
||||
if (!components.isEmpty()) {
|
||||
Assert.state(components.size() == 1,
|
||||
"Found multiple @SpringBootConfiguration annotated classes");
|
||||
"Found multiple @SpringBootConfiguration annotated classes "
|
||||
+ components);
|
||||
return ClassUtils.resolveClassName(
|
||||
components.iterator().next().getBeanClassName(), null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user