Commit 0b5fbbed authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Add a missing return

This commit adds a missing`return` in `getDataSourceBeanDefinition()`.

See gh-7193
parent 74d3a661
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment