Index: net/url_request/url_request_unittest.cc |
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc |
index 2d158a0492764e8196d54bd59c0bd6f0be81e459..7534e01544c828c6d58f621fdd8133ccacbf8205 100644 |
--- a/net/url_request/url_request_unittest.cc |
+++ b/net/url_request/url_request_unittest.cc |
@@ -4191,14 +4191,14 @@ TEST_F(URLRequestTestHTTP, |
url, DEFAULT_PRIORITY, &d, TRAFFIC_ANNOTATION_FOR_TESTS)); |
r->Start(); |
+ base::RunLoop().Run(); |
jkarlin
2017/06/08 16:14:10
Why the change to this file?
shivanisha
2017/06/08 18:26:02
Because of addition of the transaction to add_to_e
|
+ |
{ |
HttpRequestHeaders headers; |
EXPECT_TRUE(r->GetFullRequestHeaders(&headers)); |
- EXPECT_FALSE(headers.HasHeader("Authorization")); |
+ EXPECT_TRUE(headers.HasHeader("Authorization")); |
} |
- base::RunLoop().Run(); |
- |
EXPECT_EQ(OK, d.request_status()); |
EXPECT_EQ(200, r->GetResponseCode()); |
EXPECT_TRUE(d.auth_required_called()); |