Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: chrome/browser/resources/google_now/utility_unittest.gtestjs

Issue 24924002: Switching getting/dismissing cards to new protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More rgustafson's comments Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/google_now/utility.js ('k') | chrome/test/data/webui/test_api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/google_now/utility_unittest.gtestjs
diff --git a/chrome/browser/resources/google_now/utility_unittest.gtestjs b/chrome/browser/resources/google_now/utility_unittest.gtestjs
index b31407fea0cbc30050adb3ced39e13eed00dc0a2..276c0078d63431dd7412598810880abe95dc89cb 100644
--- a/chrome/browser/resources/google_now/utility_unittest.gtestjs
+++ b/chrome/browser/resources/google_now/utility_unittest.gtestjs
@@ -60,7 +60,7 @@ TEST_F('GoogleNowUtilityUnitTest', 'SendErrorReport1', function() {
};
this.mockGlobals.expects(once()).
- buildServerRequest('jserrors', 'application/json').
+ buildServerRequest('POST', 'jserrors', 'application/json').
will(returnValue(mockRequest));
this.mockLocalFunctions.expects(once()).sendRequest(
JSON.stringify(expectedRequestObject));
@@ -99,7 +99,7 @@ TEST_F('GoogleNowUtilityUnitTest', 'SendErrorReport2', function() {
};
this.mockGlobals.expects(once()).
- buildServerRequest('jserrors', 'application/json').
+ buildServerRequest('POST', 'jserrors', 'application/json').
will(returnValue(mockRequest));
this.mockLocalFunctions.expects(once()).sendRequest(
JSON.stringify(expectedRequestObject));
« no previous file with comments | « chrome/browser/resources/google_now/utility.js ('k') | chrome/test/data/webui/test_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698