Index: webrtc/api/statscollector_unittest.cc |
diff --git a/webrtc/api/statscollector_unittest.cc b/webrtc/api/statscollector_unittest.cc |
index 50ae51d6b0b9b8b0b375f35119a680f07f848957..47b76750cec0faea8e47f7fcfc1e4a030f7d0731 100644 |
--- a/webrtc/api/statscollector_unittest.cc |
+++ b/webrtc/api/statscollector_unittest.cc |
@@ -515,6 +515,10 @@ class StatsCollectorTest : public testing::Test { |
EXPECT_CALL(session_, video_channel()).WillRepeatedly(ReturnNull()); |
EXPECT_CALL(session_, voice_channel()).WillRepeatedly(ReturnNull()); |
EXPECT_CALL(pc_, session()).WillRepeatedly(Return(&session_)); |
+ EXPECT_CALL(pc_, GetSenders()).WillRepeatedly(Return( |
+ std::vector<rtc::scoped_refptr<RtpSenderInterface>>())); |
+ EXPECT_CALL(pc_, GetReceivers()).WillRepeatedly(Return( |
+ std::vector<rtc::scoped_refptr<RtpReceiverInterface>>())); |
EXPECT_CALL(pc_, sctp_data_channels()) |
.WillRepeatedly(ReturnRef(data_channels_)); |
} |