Skip to content

Commit 6575d07

Browse files
committed
FE: fix a null pointer exception due to test fixtures (#550)
1 parent 95da4a4 commit 6575d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/test/java/io/kafbat/ui/emitter/CursorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private ForwardEmitter createForwardEmitter(ConsumerPosition position) {
164164
}
165165

166166
private Cursor.Tracking createCursor(ConsumerPosition position) {
167-
return cursorsStorage.createNewCursor(createRecordsDeserializer(), position, m -> true, PAGE_SIZE, null);
167+
return cursorsStorage.createNewCursor(createRecordsDeserializer(), position, m -> true, PAGE_SIZE, "CursorId");
168168
}
169169

170170
private EnhancedConsumer createConsumer() {

0 commit comments

Comments
 (0)