diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 754d0a6f72..68e936f659 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -134,7 +134,7 @@ 1.4.0 3.4.2 5.1.42 - 5.5.24.Final + 5.6.1.Final 1.9.22 3.0.0-M01 4.1.12.Final diff --git a/spring-boot/src/test/java/org/springframework/boot/jta/narayana/NarayanaDataSourceBeanTests.java b/spring-boot/src/test/java/org/springframework/boot/jta/narayana/NarayanaDataSourceBeanTests.java index d41f5dcf0d..b440717b83 100644 --- a/spring-boot/src/test/java/org/springframework/boot/jta/narayana/NarayanaDataSourceBeanTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/jta/narayana/NarayanaDataSourceBeanTests.java @@ -83,7 +83,7 @@ public class NarayanaDataSourceBeanTests { Connection mockConnection = mock(Connection.class); XAConnection mockXaConnection = mock(XAConnection.class); given(mockXaConnection.getConnection()).willReturn(mockConnection); - given(this.dataSource.getXAConnection("", "")).willReturn(mockXaConnection); + given(this.dataSource.getXAConnection()).willReturn(mockXaConnection); Properties properties = new Properties(); properties.put(TransactionalDriver.XADataSource, this.dataSource); @@ -93,7 +93,7 @@ public class NarayanaDataSourceBeanTests { connection.commit(); - verify(this.dataSource, times(1)).getXAConnection("", ""); + verify(this.dataSource, times(1)).getXAConnection(); verify(mockXaConnection, times(1)).getConnection(); verify(mockConnection, times(1)).commit(); }