Chromium Code Reviews| Index: net/http/http_cache_unittest.cc |
| =================================================================== |
| --- net/http/http_cache_unittest.cc (revision 149069) |
| +++ net/http/http_cache_unittest.cc (working copy) |
| @@ -2355,9 +2355,7 @@ |
| TEST(HttpCache, SimplePUT_Invalidate) { |
| MockHttpCache cache; |
| - MockTransaction transaction(kSimplePOST_Transaction); |
| - transaction.method = "GET"; |
|
gavinp
2012/08/02 14:41:15
ha!
|
| - |
| + MockTransaction transaction(kSimpleGET_Transaction); |
| MockHttpRequest req1(transaction); |
| // Attempt to populate the cache. |
| @@ -2408,9 +2406,7 @@ |
| TEST(HttpCache, SimpleDELETE_Invalidate) { |
| MockHttpCache cache; |
| - MockTransaction transaction(kSimplePOST_Transaction); |
| - transaction.method = "GET"; |
| - |
| + MockTransaction transaction(kSimpleGET_Transaction); |
| MockHttpRequest req1(transaction); |
| // Attempt to populate the cache. |