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

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

Issue 2701923003: [Payment Request] Error message screen (Closed)
Patch Set: ARCified 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 efe1412262bdd9c3137dc4db7264e684218165e8..49492d121ff01419e5ec10d58208f04cb86bd0fc 100644
--- a/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm
+++ b/ios/chrome/browser/payments/payment_request_coordinator_unittest.mm
@@ -84,13 +84,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