Index: chrome/browser/ui/webui/sync_setup_browsertest.js |
diff --git a/chrome/browser/ui/webui/sync_setup_browsertest.js b/chrome/browser/ui/webui/sync_setup_browsertest.js |
index e65c4026e26595716324876aa4242f40b592fdde..98f08d12844bb4b8ed70ae451c7693a3427ec205 100644 |
--- a/chrome/browser/ui/webui/sync_setup_browsertest.js |
+++ b/chrome/browser/ui/webui/sync_setup_browsertest.js |
@@ -85,7 +85,7 @@ TEST_F('SyncSetupWebUITestAsync', 'VerifySignIn', function() { |
// Handle SyncSetupStartSignIn by displaying the sync setup dialog, verifying |
// that a confirmation dialog appears, and clicking OK to dismiss the dialog. |
// Note that this test doesn't actually do a gaia sign in. |
- this.mockHandler.expects(once()).SyncSetupStartSignIn().will(callFunction( |
+ this.mockHandler.expects(once()).SyncSetupStartSignIn('access-point-settings').will(callFunction( |
function() { |
SyncSetupOverlay.showSyncSetupPage('configure'); |
var okButton = $('confirm-everything-ok'); |
@@ -103,7 +103,7 @@ TEST_F('SyncSetupWebUITestAsync', 'VerifySignIn', function() { |
// Test that switching to and from "Sync everything" saves and restores types. |
TEST_F('SyncSetupWebUITestAsync', 'RestoreSyncDataTypes', function() { |
- this.mockHandler.expects(once()).SyncSetupStartSignIn().will(callFunction( |
+ this.mockHandler.expects(once()).SyncSetupStartSignIn('access-point-settings').will(callFunction( |
function() { |
SyncSetupOverlay.showSyncSetupPage('configure', {}); |