#107 - Polishing.

Adapt tests to changed behavior of TransactionalOperator.
This commit is contained in:
Mark Paluch
2019-09-28 15:35:26 +02:00
parent 0c306ae61f
commit a67db9f88a

View File

@@ -134,7 +134,7 @@ public class TransactionAwareConnectionFactoryProxyUnitTests {
public void shouldEmitBoundConnection() {
when(connectionMock1.beginTransaction()).thenReturn(Mono.empty());
when(connectionMock1.commitTransaction()).thenReturn(Mono.error(new IllegalStateException()));
when(connectionMock1.commitTransaction()).thenReturn(Mono.empty());
when(connectionMock1.close()).thenReturn(Mono.empty());
TransactionalOperator rxtx = TransactionalOperator.create(tm);