| Index: chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc b/chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc
|
| index 3ebe94194042dfe323f1c8755676d455beb1cb9f..dc2cf243067cc8d8e76f48ea551fd80d9f9300bd 100644
|
| --- a/chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc
|
| +++ b/chrome/browser/ui/views/payments/contact_info_editor_view_controller_browsertest.cc
|
| @@ -237,9 +237,8 @@
|
| OpenContactInfoScreen();
|
|
|
| PaymentRequest* request = GetPaymentRequests(GetActiveWebContents()).front();
|
| -
|
| - // No contact profiles are selected because both are incomplete.
|
| - EXPECT_EQ(nullptr, request->state()->selected_contact_profile());
|
| + EXPECT_EQ(request->state()->contact_profiles().front(),
|
| + request->state()->selected_contact_profile());
|
|
|
| views::View* list_view = dialog_view()->GetViewByID(
|
| static_cast<int>(DialogViewID::CONTACT_INFO_SHEET_LIST_VIEW));
|
| @@ -270,7 +269,6 @@
|
| profile->GetInfo(autofill::AutofillType(autofill::EMAIL_ADDRESS),
|
| GetLocale()));
|
|
|
| - // Expect the newly-completed profile to be selected.
|
| EXPECT_EQ(2U, request->state()->contact_profiles().size());
|
| EXPECT_EQ(request->state()->contact_profiles().back(),
|
| request->state()->selected_contact_profile());
|
|
|