| Index: ios/chrome/browser/ui/payments/billing_address_selection_coordinator_unittest.mm
|
| diff --git a/ios/chrome/browser/ui/payments/billing_address_selection_coordinator_unittest.mm b/ios/chrome/browser/ui/payments/billing_address_selection_coordinator_unittest.mm
|
| index 846484e026bb02a9f05a1cc5a323eb7138a6df1b..1daeba1911e23e312c68bd4fea1aa74b7b2498d8 100644
|
| --- a/ios/chrome/browser/ui/payments/billing_address_selection_coordinator_unittest.mm
|
| +++ b/ios/chrome/browser/ui/payments/billing_address_selection_coordinator_unittest.mm
|
| @@ -135,14 +135,14 @@ TEST_F(PaymentRequestBillingAddressSelectionCoordinatorTest,
|
| PaymentRequestSelectorViewController* view_controller =
|
| base::mac::ObjCCastStrict<PaymentRequestSelectorViewController>(
|
| GetNavigationController().visibleViewController);
|
| - [GetCoordinator() paymentRequestSelectorViewController:view_controller
|
| - didSelectItemAtIndex:0];
|
| - // Wait for the coordinator delegate to be notified.
|
| - base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));
|
| - [GetCoordinator() paymentRequestSelectorViewController:view_controller
|
| - didSelectItemAtIndex:1];
|
| + EXPECT_TRUE([GetCoordinator()
|
| + paymentRequestSelectorViewController:view_controller
|
| + didSelectItemAtIndex:0]);
|
| // Wait for the coordinator delegate to be notified.
|
| base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));
|
| + EXPECT_FALSE([GetCoordinator()
|
| + paymentRequestSelectorViewController:view_controller
|
| + didSelectItemAtIndex:1]);
|
|
|
| EXPECT_OCMOCK_VERIFY(delegate);
|
| }
|
|
|