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 135
135
<mockito .version>1.10.19</mockito .version>
136
136
<mongodb .version>3.4.2</mongodb .version>
137
137
<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>
139
139
<nekohtml .version>1.9.22</nekohtml .version>
140
140
<neo4j-ogm .version>2.1.3</neo4j-ogm .version>
141
141
<postgresql .version>9.4.1212.jre7</postgresql .version>
2752
2752
<id >integration-test</id >
2753
2753
</profile >
2754
2754
</profiles >
2755
- </project >
2755
+ </project >
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public void shouldGetConnectionAndCommit() throws SQLException {
83
83
Connection mockConnection = mock (Connection .class );
84
84
XAConnection mockXaConnection = mock (XAConnection .class );
85
85
given (mockXaConnection .getConnection ()).willReturn (mockConnection );
86
- given (this .dataSource .getXAConnection ("" , "" )).willReturn (mockXaConnection );
86
+ given (this .dataSource .getXAConnection ()).willReturn (mockXaConnection );
87
87
88
88
Properties properties = new Properties ();
89
89
properties .put (TransactionalDriver .XADataSource , this .dataSource );
@@ -93,7 +93,7 @@ public void shouldGetConnectionAndCommit() throws SQLException {
93
93
94
94
connection .commit ();
95
95
96
- verify (this .dataSource , times (1 )).getXAConnection ("" , "" );
96
+ verify (this .dataSource , times (1 )).getXAConnection ();
97
97
verify (mockXaConnection , times (1 )).getConnection ();
98
98
verify (mockConnection , times (1 )).commit ();
99
99
}
You can’t perform that action at this time.
0 commit comments