| Index: ios/chrome/browser/ui/payments/payment_method_selection_coordinator_unittest.mm
|
| diff --git a/ios/chrome/browser/ui/payments/payment_method_selection_coordinator_unittest.mm b/ios/chrome/browser/ui/payments/payment_method_selection_coordinator_unittest.mm
|
| index c0802c89d71ac721805bf4caecad2bb207bbf1d2..419d6842c6b15f88d31606c1944aea0d4a409741 100644
|
| --- a/ios/chrome/browser/ui/payments/payment_method_selection_coordinator_unittest.mm
|
| +++ b/ios/chrome/browser/ui/payments/payment_method_selection_coordinator_unittest.mm
|
| @@ -119,14 +119,12 @@ TEST_F(PaymentRequestPaymentMethodSelectionCoordinatorTest,
|
| PaymentRequestSelectorViewController* view_controller =
|
| base::mac::ObjCCastStrict<PaymentRequestSelectorViewController>(
|
| navigation_controller.visibleViewController);
|
| - [coordinator paymentRequestSelectorViewController:view_controller
|
| - didSelectItemAtIndex:0];
|
| - // Wait for the coordinator delegate to be notified.
|
| - base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));
|
| - [coordinator paymentRequestSelectorViewController:view_controller
|
| - didSelectItemAtIndex:1];
|
| + EXPECT_TRUE([coordinator paymentRequestSelectorViewController:view_controller
|
| + didSelectItemAtIndex:0]);
|
| // Wait for the coordinator delegate to be notified.
|
| base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));
|
| + EXPECT_FALSE([coordinator paymentRequestSelectorViewController:view_controller
|
| + didSelectItemAtIndex:1]);
|
|
|
| EXPECT_OCMOCK_VERIFY(delegate);
|
| }
|
|
|