| Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| index 375ec49a379fca3add8718e86b6c899ddbfb22a2..65be054e5248814a65470e8723e1924f06ca07b8 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
|
| @@ -1770,9 +1770,6 @@ TEST_F(AutofillDialogControllerTest, WalletServerSideValidationUnrecoverable) {
|
| // Test Wallet banners are show in the right situations. These banners promote
|
| // saving details into Wallet (i.e. "[x] Save details to Wallet").
|
| TEST_F(AutofillDialogControllerTest, WalletBanners) {
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - command_line->AppendSwitch(switches::kWalletServiceUseProd);
|
| -
|
| // Simulate non-signed-in case.
|
| SetUpControllerWithFormData(DefaultFormData());
|
| GoogleServiceAuthError error(GoogleServiceAuthError::NONE);
|
| @@ -2140,13 +2137,13 @@ TEST_F(AutofillDialogControllerTest, NotProdNotification) {
|
| wallet::GetTestWalletItems(wallet::AMEX_DISALLOWED));
|
|
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - ASSERT_FALSE(command_line->HasSwitch(switches::kWalletServiceUseProd));
|
| - EXPECT_FALSE(
|
| - NotificationsOfType(DialogNotification::DEVELOPER_WARNING).empty());
|
| + ASSERT_FALSE(command_line->HasSwitch(switches::kWalletServiceUseSandbox));
|
| + EXPECT_EQ(0U,
|
| + NotificationsOfType(DialogNotification::DEVELOPER_WARNING).size());
|
|
|
| - command_line->AppendSwitch(switches::kWalletServiceUseProd);
|
| - EXPECT_TRUE(
|
| - NotificationsOfType(DialogNotification::DEVELOPER_WARNING).empty());
|
| + command_line->AppendSwitch(switches::kWalletServiceUseSandbox);
|
| + EXPECT_EQ(1U,
|
| + NotificationsOfType(DialogNotification::DEVELOPER_WARNING).size());
|
| }
|
|
|
| // Ensure Wallet instruments marked expired by the server are shown as invalid.
|
|
|