We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af5187f commit cf8d253Copy full SHA for cf8d253
1 file changed
extensions/kafka/tests/PublishKafkaTests.cpp
@@ -49,7 +49,7 @@ TEST_CASE("Trigger without valid broker", "[PublishKafka]") {
49
50
REQUIRE_NOTHROW(publish_kafka.onScheduleImpl(context));
51
auto session = mock::MockProcessSession{};
52
- session.addInputFlowFile(mock::MockFlowFileData("test_input_flow_file"));
+ session.addInputFlowFile(std::make_unique<MinifiFlowFile>("test_input_flow_file"));
53
REQUIRE_NOTHROW(publish_kafka.onTriggerImpl(context, session));
54
55
CHECK_FALSE(logger->logs_.empty());
0 commit comments