summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc')
-rw-r--r--chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
index 6d1f30d..6cc9689 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
@@ -899,9 +899,8 @@ IN_PROC_BROWSER_TEST_F(AutofillDialogControllerTest,
ASSERT_TRUE(controller);
const CreditCard& credit_card = test::GetVerifiedCreditCard();
- ASSERT_TRUE(
- credit_card.GetRawInfo(CREDIT_CARD_NAME).find(ASCIIToUTF16("zebra")) ==
- base::string16::npos);
+ ASSERT_TRUE(credit_card.GetRawInfo(CREDIT_CARD_NAME_FULL)
+ .find(ASCIIToUTF16("zebra")) == base::string16::npos);
AddCreditcardToProfile(controller->profile(), credit_card);
AddAutofillProfileToProfile(controller->profile(),
test::GetVerifiedProfile());