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

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

Issue 2710683012: [Payment Request] Payment request summary view pending state (Closed)
Patch Set: 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/shipping_option_selection_view_controller_unittest.mm
diff --git a/ios/chrome/browser/payments/shipping_option_selection_view_controller_unittest.mm b/ios/chrome/browser/payments/shipping_option_selection_view_controller_unittest.mm
index a3f3b21edeb31654b389440bca0023f633d117a1..c6d616e06375d84e1aab44bfbeb7544fd8690110 100644
--- a/ios/chrome/browser/payments/shipping_option_selection_view_controller_unittest.mm
+++ b/ios/chrome/browser/payments/shipping_option_selection_view_controller_unittest.mm
@@ -83,8 +83,8 @@ TEST_F(ShippingOptionSelectionViewControllerTest, TestModel) {
item = GetCollectionViewItem(0, 0);
EXPECT_TRUE([item isMemberOfClass:[PaymentsTextItem class]]);
- // Test the loading state.
- [GetShippingOptionSelectionViewController() setIsLoading:YES];
+ // Test the pending state.
+ [GetShippingOptionSelectionViewController() setIsPending:YES];
[GetShippingOptionSelectionViewController() loadModel];
ASSERT_EQ(1, NumberOfSections());

Powered by Google App Engine
This is Rietveld 408576698