Index: webrtc/p2p/base/transportcontroller_unittest.cc |
diff --git a/webrtc/p2p/base/transportcontroller_unittest.cc b/webrtc/p2p/base/transportcontroller_unittest.cc |
index 23e4dc80671d2e873f9e213afda28175e2113ce4..b28ac248f86cdf4fb181189108f542efc3964967 100644 |
--- a/webrtc/p2p/base/transportcontroller_unittest.cc |
+++ b/webrtc/p2p/base/transportcontroller_unittest.cc |
@@ -262,7 +262,8 @@ TEST_F(TransportControllerTest, TestGetSslRole) { |
ASSERT_NE(nullptr, channel); |
ASSERT_TRUE(channel->SetSslRole(rtc::SSL_CLIENT)); |
rtc::SSLRole role; |
- EXPECT_TRUE(transport_controller_->GetSslRole(&role)); |
+ EXPECT_FALSE(transport_controller_->GetSslRole("video", &role)); |
+ EXPECT_TRUE(transport_controller_->GetSslRole("audio", &role)); |
EXPECT_EQ(rtc::SSL_CLIENT, role); |
} |