| Index: remoting/protocol/connection_to_client_unittest.cc
|
| diff --git a/remoting/protocol/connection_to_client_unittest.cc b/remoting/protocol/connection_to_client_unittest.cc
|
| index c6dd90cf9c78e44cfd8b29c2d7dda82ee420187f..4ea8941d5e61f5fa1a754132d27d4a7f316705fc 100644
|
| --- a/remoting/protocol/connection_to_client_unittest.cc
|
| +++ b/remoting/protocol/connection_to_client_unittest.cc
|
| @@ -69,8 +69,8 @@ TEST_F(ConnectionToClientTest, SendUpdateStream) {
|
|
|
| // Verify that something has been written.
|
| // TODO(sergeyu): Verify that the correct data has been written.
|
| - ASSERT_TRUE(session_->GetStreamChannel(kVideoChannelName));
|
| - EXPECT_GT(session_->GetStreamChannel(kVideoChannelName)->
|
| + ASSERT_TRUE(session_->fake_channel_factory().GetChannel(kVideoChannelName));
|
| + EXPECT_GT(session_->fake_channel_factory().GetChannel(kVideoChannelName)->
|
| written_data().size(), 0u);
|
|
|
| // And then close the connection to ConnectionToClient.
|
|
|