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

Unified Diff: components/autofill/core/browser/credit_card_unittest.cc

Issue 2579623003: [Autofill] Update credit card icons to match payments. (Closed)
Patch Set: Created 4 years 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: components/autofill/core/browser/credit_card_unittest.cc
diff --git a/components/autofill/core/browser/credit_card_unittest.cc b/components/autofill/core/browser/credit_card_unittest.cc
index a0cb0c634a1f5ee95ade796a81571ca40400604b..de26d8e56d3c4588920b026832e5393fde5f8d32 100644
--- a/components/autofill/core/browser/credit_card_unittest.cc
+++ b/components/autofill/core/browser/credit_card_unittest.cc
@@ -369,11 +369,11 @@ TEST(CreditCardTest, Compare) {
TEST(CreditCardTest, IconResourceId) {
EXPECT_EQ(IDR_AUTOFILL_CC_AMEX,
CreditCard::IconResourceId(kAmericanExpressCard));
- EXPECT_EQ(IDR_AUTOFILL_CC_GENERIC,
+ EXPECT_EQ(IDR_AUTOFILL_CC_DINERS,
CreditCard::IconResourceId(kDinersCard));
EXPECT_EQ(IDR_AUTOFILL_CC_DISCOVER,
CreditCard::IconResourceId(kDiscoverCard));
- EXPECT_EQ(IDR_AUTOFILL_CC_GENERIC,
+ EXPECT_EQ(IDR_AUTOFILL_CC_JCB,
CreditCard::IconResourceId(kJCBCard));
EXPECT_EQ(IDR_AUTOFILL_CC_MASTERCARD,
CreditCard::IconResourceId(kMasterCard));

Powered by Google App Engine
This is Rietveld 408576698