Index: webrtc/p2p/base/transportcontroller_unittest.cc |
diff --git a/webrtc/p2p/base/transportcontroller_unittest.cc b/webrtc/p2p/base/transportcontroller_unittest.cc |
index 140852984a63a72f63d2c2be03e8f58266770832..6ff158e8fc4e8d86ed8e5e16075c0980f0a92762 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); |
} |