| 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 c3ab482b125826562bf12f8ae5e07dbf3c7756ae..145efaf0a5151a11c286a986369d0648d7d05913 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
|
| @@ -123,14 +123,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);
|
| }
|
|
|