diff --git a/engine/src/flutter/shell/platform/common/cpp/client_wrapper/method_channel_unittests.cc b/engine/src/flutter/shell/platform/common/cpp/client_wrapper/method_channel_unittests.cc index 530332458d..13cbb50f88 100644 --- a/engine/src/flutter/shell/platform/common/cpp/client_wrapper/method_channel_unittests.cc +++ b/engine/src/flutter/shell/platform/common/cpp/client_wrapper/method_channel_unittests.cc @@ -67,6 +67,7 @@ TEST(MethodChannelTest, Registration) { // result. EXPECT_EQ(call.method_name(), method_name); EXPECT_NE(result, nullptr); + result->Success(); }); EXPECT_EQ(messenger.last_message_handler_channel(), channel_name); EXPECT_NE(messenger.last_message_handler(), nullptr);