summaryrefslogtreecommitdiffstats
path: root/blimp/net/engine_authentication_handler_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'blimp/net/engine_authentication_handler_unittest.cc')
-rw-r--r--blimp/net/engine_authentication_handler_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/blimp/net/engine_authentication_handler_unittest.cc b/blimp/net/engine_authentication_handler_unittest.cc
index 9dc52b3..dd8943c 100644
--- a/blimp/net/engine_authentication_handler_unittest.cc
+++ b/blimp/net/engine_authentication_handler_unittest.cc
@@ -84,7 +84,7 @@ TEST_F(EngineAuthenticationHandlerTest, AuthenticationFailed) {
net::TestCompletionCallback process_message_cb;
incoming_message_processor_->ProcessMessage(std::move(blimp_message),
process_message_cb.callback());
- EXPECT_FALSE(process_message_cb.have_result());
+ EXPECT_EQ(net::OK, process_message_cb.WaitForResult());
}
TEST_F(EngineAuthenticationHandlerTest, WrongMessageReceived) {
@@ -96,7 +96,7 @@ TEST_F(EngineAuthenticationHandlerTest, WrongMessageReceived) {
net::TestCompletionCallback process_message_cb;
incoming_message_processor_->ProcessMessage(std::move(blimp_message),
process_message_cb.callback());
- EXPECT_FALSE(process_message_cb.have_result());
+ EXPECT_EQ(net::OK, process_message_cb.WaitForResult());
}
TEST_F(EngineAuthenticationHandlerTest, ConnectionError) {