Skip to content

Commit cf8d253

Browse files
committed
kafka part
1 parent af5187f commit cf8d253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/kafka/tests/PublishKafkaTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ TEST_CASE("Trigger without valid broker", "[PublishKafka]") {
4949

5050
REQUIRE_NOTHROW(publish_kafka.onScheduleImpl(context));
5151
auto session = mock::MockProcessSession{};
52-
session.addInputFlowFile(mock::MockFlowFileData("test_input_flow_file"));
52+
session.addInputFlowFile(std::make_unique<MinifiFlowFile>("test_input_flow_file"));
5353
REQUIRE_NOTHROW(publish_kafka.onTriggerImpl(context, session));
5454

5555
CHECK_FALSE(logger->logs_.empty());

0 commit comments

Comments
 (0)