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

Unified Diff: ios/chrome/browser/payments/cells/payment_method_item_unittest.mm

Issue 2825143002: [Payment Request] Accepted credit card type icons in the credit card editor (Closed)
Patch Set: Addressed comments Created 3 years, 8 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: ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
diff --git a/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm b/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
index c2ed3b56eb9f7cae7523bd6c4e449f9b34a2c5b5..cabfb3bf213c1a9a32ba291056b451dfc0a5b7cb 100644
--- a/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
+++ b/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
@@ -17,7 +17,7 @@ namespace {
// Tests that the labels and image are set properly after a call to
// |configureCell:|.
TEST(PaymentRequestPaymentMethodItemTest, TextLabels) {
- PaymentMethodItem* item = [[PaymentMethodItem alloc] initWithType:0];
+ PaymentMethodItem* item = [[PaymentMethodItem alloc] init];
NSString* methodID = @"BobPay - ****-6789";
NSString* methodDetail = @"Bobs Your Uncle III, esq.";

Powered by Google App Engine
This is Rietveld 408576698