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

Unified Diff: ios/chrome/browser/payments/payment_request_coordinator_unittest.mm

Issue 2701923003: [Payment Request] Error message screen (Closed)
Patch Set: rebase Created 3 years, 10 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/payments/payment_request_coordinator_unittest.mm
diff --git a/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm b/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm
index 2d03c616a6d5780ea9f2539043da3d86bb192376..37e912ed63eab11b2665ace1ccc1ce9c274b06bc 100644
--- a/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm
+++ b/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm
@@ -87,13 +87,13 @@ TEST(PaymentRequestCoordinatorTest, StartAndStop) {
[coordinator start];
// Short delay to allow animation to complete.
base::test::ios::SpinRunLoopWithMaxDelay(base::TimeDelta::FromSecondsD(1));
- id persented_view_controller =
+ id presented_view_controller =
[coordinator baseViewController].presentedViewController;
- EXPECT_TRUE([persented_view_controller
+ EXPECT_TRUE([presented_view_controller
isMemberOfClass:[UINavigationController class]]);
UINavigationController* navigation_controller =
base::mac::ObjCCastStrict<UINavigationController>(
- persented_view_controller);
+ presented_view_controller);
EXPECT_EQ(1u, navigation_controller.viewControllers.count);
id view_controller = navigation_controller.visibleViewController;
EXPECT_TRUE(

Powered by Google App Engine
This is Rietveld 408576698