| 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..2c0d236455ba666add311f1f0dcf7a8d716ca836 100644
|
| --- a/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
|
| +++ b/ios/chrome/browser/payments/cells/payment_method_item_unittest.mm
|
| @@ -24,15 +24,12 @@ TEST(PaymentRequestPaymentMethodItemTest, TextLabels) {
|
| NSString* methodAddress = @"123 Bob St, Halifax, NS";
|
| NSString* notification = @"More information is required.";
|
| UIImage* methodTypeIcon = ios_internal::CollectionViewTestImage();
|
| - MDCCollectionViewCellAccessoryType accessoryType =
|
| - MDCCollectionViewCellAccessoryDisclosureIndicator;
|
|
|
| item.methodID = methodID;
|
| item.methodDetail = methodDetail;
|
| item.methodAddress = methodAddress;
|
| item.notification = notification;
|
| item.methodTypeIcon = methodTypeIcon;
|
| - item.accessoryType = accessoryType;
|
|
|
| id cell = [[[item cellClass] alloc] init];
|
| ASSERT_TRUE([cell isMemberOfClass:[PaymentMethodCell class]]);
|
| @@ -43,8 +40,6 @@ TEST(PaymentRequestPaymentMethodItemTest, TextLabels) {
|
| EXPECT_FALSE(paymentMethodCell.methodAddressLabel.text);
|
| EXPECT_FALSE(paymentMethodCell.notificationLabel.text);
|
| EXPECT_EQ(nil, paymentMethodCell.methodTypeIconView.image);
|
| - EXPECT_EQ(paymentMethodCell.accessoryType,
|
| - MDCCollectionViewCellAccessoryNone);
|
|
|
| [item configureCell:paymentMethodCell];
|
| EXPECT_NSEQ(methodID, paymentMethodCell.methodIDLabel.text);
|
| @@ -52,8 +47,6 @@ TEST(PaymentRequestPaymentMethodItemTest, TextLabels) {
|
| EXPECT_NSEQ(methodAddress, paymentMethodCell.methodAddressLabel.text);
|
| EXPECT_NSEQ(notification, paymentMethodCell.notificationLabel.text);
|
| EXPECT_NSEQ(methodTypeIcon, paymentMethodCell.methodTypeIconView.image);
|
| - EXPECT_EQ(paymentMethodCell.accessoryType,
|
| - MDCCollectionViewCellAccessoryDisclosureIndicator);
|
| }
|
|
|
| } // namespace
|
|
|