Index: remoting/protocol/jingle_session_unittest.cc |
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc |
index 8e7043b1d46c26727fd67d6463d2f7748ce3cc78..8757029baf8e3be4167a48251e37f33d2e93ad9c 100644 |
--- a/remoting/protocol/jingle_session_unittest.cc |
+++ b/remoting/protocol/jingle_session_unittest.cc |
@@ -349,6 +349,9 @@ class JingleSessionTest : public testing::Test { |
EXPECT_CALL(host_connection_callback_, |
OnStateChange(Session::CONNECTED)) |
+ .Times(1); |
+ EXPECT_CALL(host_connection_callback_, |
+ OnStateChange(Session::AUTHENTICATED)) |
.Times(1) |
.WillOnce(QuitThreadOnCounter(¬_connected_peers)); |
// Expect that the connection will be closed eventually. |
@@ -365,6 +368,9 @@ class JingleSessionTest : public testing::Test { |
.Times(1); |
EXPECT_CALL(client_connection_callback_, |
OnStateChange(Session::CONNECTED)) |
+ .Times(1); |
+ EXPECT_CALL(client_connection_callback_, |
+ OnStateChange(Session::AUTHENTICATED)) |
.Times(1) |
.WillOnce(QuitThreadOnCounter(¬_connected_peers)); |
// Expect that the connection will be closed eventually. |