diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index e1bdc7c906..ed87816cb6 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -136,7 +136,7 @@ 1.10.19 3.4.1 5.1.40 - 5.5.0.Final + 5.5.1.Final 1.9.22 2.1.1 9.4.1212.jre7 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 fada25acca..b6b59dd6bb 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(); }