Index: components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc |
diff --git a/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc b/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc |
index 0338550681cb0841ec0eedcaf2aaf1b9ecc0a3ad..0b2febbe3c4ad15cae190969e0f4433acab26eea 100644 |
--- a/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc |
+++ b/components/offline_pages/core/prefetch/suggested_articles_observer_unittest.cc |
@@ -76,9 +76,8 @@ TEST_F(OfflinePageSuggestedArticlesObserverTest, |
EXPECT_EQ(1U, test_prefetch_dispatcher()->latest_prefetch_urls.size()); |
EXPECT_EQ(test_url_1, |
test_prefetch_dispatcher()->latest_prefetch_urls[0].url); |
- EXPECT_EQ( |
- kSuggestedArticlesNamespace, |
- test_prefetch_dispatcher()->latest_prefetch_urls[0].client_id.name_space); |
+ EXPECT_EQ(kSuggestedArticlesNamespace, |
+ test_prefetch_dispatcher()->latest_name_space); |
} |
TEST_F(OfflinePageSuggestedArticlesObserverTest, RemovesAllOnBadStatus) { |
@@ -119,9 +118,8 @@ TEST_F(OfflinePageSuggestedArticlesObserverTest, RemovesClientIdOnInvalidated) { |
EXPECT_NE(nullptr, test_prefetch_dispatcher()->last_removed_client_id.get()); |
EXPECT_EQ(test_url_1.spec(), |
test_prefetch_dispatcher()->last_removed_client_id->id); |
- EXPECT_EQ( |
- kSuggestedArticlesNamespace, |
- test_prefetch_dispatcher()->latest_prefetch_urls[0].client_id.name_space); |
+ EXPECT_EQ(kSuggestedArticlesNamespace, |
+ test_prefetch_dispatcher()->latest_name_space); |
} |
} // namespace offline_pages |