Skip to content

Commit 151abb7

Browse files
committed
GH-1898: Fix Test
1 parent 843573f commit 151abb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-kafka/src/test/java/org/springframework/kafka/support/LoggingProducerListenerTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ void noBytesInLog() {
5050
string.set(stringer.get());
5151
return null;
5252
}).given(logger).error(any(), any(Supplier.class));
53-
pl.onError(new ProducerRecord("foo", 0, new byte[3], new byte[1111]), null,
54-
new RuntimeException());
53+
pl.onError(new ProducerRecord("foo", 0, new byte[3], new byte[1111]), new RuntimeException());
5554
assertThat(string.get()).contains("byte[3]");
5655
assertThat(string.get()).contains("byte[1111]");
5756
}

0 commit comments

Comments
 (0)