Add a missing return
This commit adds a missing`return` in `getDataSourceBeanDefinition()`. See gh-7193
This commit is contained in:
parent
74d3a6616b
commit
0b5fbbedf4
|
|
@ -118,6 +118,7 @@ public class TestDatabaseAutoConfiguration {
|
|||
if (ObjectUtils.isEmpty(beanNames)) {
|
||||
logger.warn("No DataSource beans found, "
|
||||
+ "embedded version will not be used");
|
||||
return null;
|
||||
}
|
||||
if (beanNames.length == 1) {
|
||||
String beanName = beanNames[0];
|
||||
|
|
|
|||
Loading…
Reference in New Issue