Upgrade to Narayana 5.5.30.Final

Closes gh-10004
This commit is contained in:
Gytis Trikleris
2017-08-14 10:36:09 +02:00
committed by Stephane Nicoll
parent 4956829ba9
commit 4d42d89d71
2 changed files with 4 additions and 4 deletions

View File

@@ -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();
}