Skip to content

Commit 7db7ccf

Browse files
committed
Merge pull request spring-projects#10004 from gytis:1.5.x
* pr/10004: Upgrade to Narayana 5.5.30.Final
2 parents c73fde3 + 4d42d89 commit 7db7ccf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<mockito.version>1.10.19</mockito.version>
136136
<mongodb.version>3.4.2</mongodb.version>
137137
<mysql.version>5.1.43</mysql.version>
138-
<narayana.version>5.5.28.Final</narayana.version>
138+
<narayana.version>5.5.30.Final</narayana.version>
139139
<nekohtml.version>1.9.22</nekohtml.version>
140140
<neo4j-ogm.version>2.1.3</neo4j-ogm.version>
141141
<postgresql.version>9.4.1212.jre7</postgresql.version>
@@ -2752,4 +2752,4 @@
27522752
<id>integration-test</id>
27532753
</profile>
27542754
</profiles>
2755-
</project>
2755+
</project>

spring-boot/src/test/java/org/springframework/boot/jta/narayana/NarayanaDataSourceBeanTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void shouldGetConnectionAndCommit() throws SQLException {
8383
Connection mockConnection = mock(Connection.class);
8484
XAConnection mockXaConnection = mock(XAConnection.class);
8585
given(mockXaConnection.getConnection()).willReturn(mockConnection);
86-
given(this.dataSource.getXAConnection("", "")).willReturn(mockXaConnection);
86+
given(this.dataSource.getXAConnection()).willReturn(mockXaConnection);
8787

8888
Properties properties = new Properties();
8989
properties.put(TransactionalDriver.XADataSource, this.dataSource);
@@ -93,7 +93,7 @@ public void shouldGetConnectionAndCommit() throws SQLException {
9393

9494
connection.commit();
9595

96-
verify(this.dataSource, times(1)).getXAConnection("", "");
96+
verify(this.dataSource, times(1)).getXAConnection();
9797
verify(mockXaConnection, times(1)).getConnection();
9898
verify(mockConnection, times(1)).commit();
9999
}

0 commit comments

Comments
 (0)