Skip to content

Commit 7d22fc0

Browse files
committed
Fix incompatible with caller stubbing
https://build.spring.io/browse/SK-SK20X-43/
1 parent 439f2a5 commit 7d22fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/test/java/org/springframework/kafka/listener/TransactionalContainerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void testConsumeAndProduceTransactionRollback() throws Exception {
186186
return null;
187187
}).given(consumer).seek(any(), anyLong());
188188
ConsumerFactory cf = mock(ConsumerFactory.class);
189-
willReturn(consumer).given(cf).createConsumer("group", "");
189+
willReturn(consumer).given(cf).createConsumer("group", null);
190190
Producer producer = mock(Producer.class);
191191
final CountDownLatch closeLatch = new CountDownLatch(1);
192192
willAnswer(i -> {

0 commit comments

Comments
 (0)