File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
spring-boot/src/test/java/org/springframework/boot/jta/narayana Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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>
27522752 <id >integration-test</id >
27532753 </profile >
27542754 </profiles >
2755- </project >
2755+ </project >
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments