| Index: chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc b/chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc
|
| index d6e111ddd8738fc3453634f76f056ab910f63b8e..ef89ff704a57b8134cb12cf4e505857b2fc019af 100644
|
| --- a/chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc
|
| +++ b/chrome/browser/ui/views/payments/cvc_unmask_view_controller_browsertest.cc
|
| @@ -22,7 +22,11 @@ class PaymentRequestCvcUnmaskViewControllerTest
|
|
|
| IN_PROC_BROWSER_TEST_F(PaymentRequestCvcUnmaskViewControllerTest,
|
| CvcSentToResponse) {
|
| - AddCreditCard(autofill::test::GetCreditCard()); // Visa.
|
| + autofill::AutofillProfile profile(autofill::test::GetFullProfile());
|
| + AddAutofillProfile(profile);
|
| + autofill::CreditCard card(autofill::test::GetCreditCard()); // Visa card.
|
| + card.set_billing_address_id(profile.guid());
|
| + AddCreditCard(card);
|
|
|
| InvokePaymentRequestUI();
|
| ResetEventObserver(DialogEvent::DIALOG_CLOSED);
|
| @@ -35,7 +39,11 @@ IN_PROC_BROWSER_TEST_F(PaymentRequestCvcUnmaskViewControllerTest,
|
| // does not crash.
|
| IN_PROC_BROWSER_TEST_F(PaymentRequestCvcUnmaskViewControllerTest,
|
| OpenGoBackOpenPay) {
|
| - AddCreditCard(autofill::test::GetCreditCard()); // Visa.
|
| + autofill::AutofillProfile profile(autofill::test::GetFullProfile());
|
| + AddAutofillProfile(profile);
|
| + autofill::CreditCard card(autofill::test::GetCreditCard()); // Visa card.
|
| + card.set_billing_address_id(profile.guid());
|
| + AddCreditCard(card);
|
|
|
| InvokePaymentRequestUI();
|
| OpenCVCPromptWithCVC(base::ASCIIToUTF16("012"));
|
|
|