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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp

Issue 2352513002: PaymentRequest: Deprecate careOf attribute in PaymentAddress. (Closed)
Patch Set: PaymentRequest: Deprecate careOf attribute in PaymentAddress. Created 4 years, 3 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: third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
index eff05f3fcbce7eea6f842355b9677627f3782cf7..83cca86e5daffd5551d5c948e29c59a4450b6a00 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
@@ -27,7 +27,6 @@ TEST(PaymentAddressTest, ValuesAreCopiedOver)
input->script_code = "Latn";
input->organization = "Google";
input->recipient = "Jon Doe";
- input->careOf = "";
input->phone = "Phone Number";
PaymentAddress output(std::move(input));
@@ -45,7 +44,6 @@ TEST(PaymentAddressTest, ValuesAreCopiedOver)
EXPECT_EQ("en-Latn", output.languageCode());
EXPECT_EQ("Google", output.organization());
EXPECT_EQ("Jon Doe", output.recipient());
- EXPECT_EQ("", output.careOf());
EXPECT_EQ("Phone Number", output.phone());
}

Powered by Google App Engine
This is Rietveld 408576698