Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: Components Unittests fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc b/chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc
index d90ef78946bbf8f5dac3936d9943d1f5a3b706c6..d98471fa97237c28c86beeceb7492df4ec4149f9 100644
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc
@@ -30,7 +30,8 @@ TEST(CreditCardEditorViewControllerTest, ExpirationMonth_FromJanuary) {
std::unique_ptr<CreditCardEditorViewController> view_controller(
new CreditCardEditorViewController(
- nullptr, nullptr, nullptr, base::OnceClosure(),
+ nullptr, nullptr, nullptr, BackNavigationType::kPaymentSheet, 0,
+ base::OnceClosure(),
base::OnceCallback<void(const autofill::CreditCard&)>(), nullptr));
std::unique_ptr<ui::ComboboxModel> model =
@@ -61,7 +62,8 @@ TEST(CreditCardEditorViewControllerTest, ExpirationMonth_FromJune) {
std::unique_ptr<CreditCardEditorViewController> view_controller(
new CreditCardEditorViewController(
- nullptr, nullptr, nullptr, base::OnceClosure(),
+ nullptr, nullptr, nullptr, BackNavigationType::kPaymentSheet, 0,
+ base::OnceClosure(),
base::OnceCallback<void(const autofill::CreditCard&)>(), nullptr));
std::unique_ptr<ui::ComboboxModel> model =
@@ -91,7 +93,8 @@ TEST(CreditCardEditorViewControllerTest, ExpirationYear_From2017) {
std::unique_ptr<CreditCardEditorViewController> view_controller(
new CreditCardEditorViewController(
- nullptr, nullptr, nullptr, base::OnceClosure(),
+ nullptr, nullptr, nullptr, BackNavigationType::kPaymentSheet, 0,
+ base::OnceClosure(),
base::OnceCallback<void(const autofill::CreditCard&)>(), nullptr));
std::unique_ptr<ui::ComboboxModel> model =

Powered by Google App Engine
This is Rietveld 408576698