diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfigurationTests.java index 4eb29fd207..4eef023c9b 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/XADataSourceAutoConfigurationTests.java @@ -125,16 +125,6 @@ class XADataSourceAutoConfigurationTests { return context; } - @Configuration(proxyBeanMethods = false) - static class JdbcConnectionDetailsConfiguration { - - @Bean - JdbcConnectionDetails jdbcConnectionDetails() { - return new TestJdbcConnectionDetails(); - } - - } - @Configuration(proxyBeanMethods = false) static class WrapExisting {