From 7dbc7e7e39a12f1beab5925aff1d91becbcefdf2 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 30 Mar 2023 08:24:58 +0900 Subject: [PATCH] Remove unused test configuration See gh-34818 --- .../jdbc/XADataSourceAutoConfigurationTests.java | 10 ---------- 1 file changed, 10 deletions(-) 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 {