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

Unified Diff: ios/chrome/browser/ui/payments/contact_info_selection_coordinator_unittest.mm

Issue 2956323002: [Payment Request] Simplifies VC's logic to decide if an item is selectable (Closed)
Patch Set: Addressed comment Created 3 years, 6 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/ui/payments/contact_info_selection_coordinator_unittest.mm
diff --git a/ios/chrome/browser/ui/payments/contact_info_selection_coordinator_unittest.mm b/ios/chrome/browser/ui/payments/contact_info_selection_coordinator_unittest.mm
index 44a1ff7e04100534f5f305d50595eec3849ff373..3e63defa22388415857c5c0a43922fbfda0acd06 100644
--- a/ios/chrome/browser/ui/payments/contact_info_selection_coordinator_unittest.mm
+++ b/ios/chrome/browser/ui/payments/contact_info_selection_coordinator_unittest.mm
@@ -109,8 +109,8 @@ TEST_F(PaymentRequestContactInfoSelectionCoordinatorTest, SelectedContactInfo) {
PaymentRequestSelectorViewController* view_controller =
base::mac::ObjCCastStrict<PaymentRequestSelectorViewController>(
navigation_controller.visibleViewController);
- [coordinator paymentRequestSelectorViewController:view_controller
- didSelectItemAtIndex:1];
+ EXPECT_TRUE([coordinator paymentRequestSelectorViewController:view_controller
+ didSelectItemAtIndex:1]);
// Wait for the coordinator delegate to be notified.
base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));

Powered by Google App Engine
This is Rietveld 408576698