Index: chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm |
diff --git a/chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm b/chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm |
index 356e12e16e763e833ae63442ea53159476fa659e..1fc4373cdc0b2e5d75ff4fb3fa97d3235f2d3372 100644 |
--- a/chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm |
+++ b/chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm |
@@ -500,7 +500,8 @@ TEST_F(AutoFillDialogControllerTest, TwoCreditCardsDeleteOne) { |
ASSERT_EQ(observer_.credit_cards_[0], credit_card); |
} |
-TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesFalse) { |
+// Auxilliary profiles are enabled by default. |
+TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesTrue) { |
LoadDialog(); |
[controller_ save:nil]; |
@@ -508,13 +509,13 @@ TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesFalse) { |
ASSERT_TRUE(observer_.hit_); |
// Auxiliary profiles setting should be unchanged. |
- ASSERT_FALSE(helper_.profile()->GetPrefs()->GetBoolean( |
+ ASSERT_TRUE(helper_.profile()->GetPrefs()->GetBoolean( |
prefs::kAutoFillAuxiliaryProfilesEnabled)); |
} |
-TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesTrue) { |
+TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesFalse) { |
helper_.profile()->GetPrefs()->SetBoolean( |
- prefs::kAutoFillAuxiliaryProfilesEnabled, true); |
+ prefs::kAutoFillAuxiliaryProfilesEnabled, false); |
LoadDialog(); |
[controller_ save:nil]; |
@@ -522,7 +523,7 @@ TEST_F(AutoFillDialogControllerTest, AuxiliaryProfilesTrue) { |
ASSERT_TRUE(observer_.hit_); |
// Auxiliary profiles setting should be unchanged. |
- ASSERT_TRUE(helper_.profile()->GetPrefs()->GetBoolean( |
+ ASSERT_FALSE(helper_.profile()->GetPrefs()->GetBoolean( |
prefs::kAutoFillAuxiliaryProfilesEnabled)); |
} |