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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc

Issue 2593573003: Ntp: use AMP urls for content suggestions when available. (Closed)
Patch Set: Created 4 years 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: components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
index fd13c5d15b050af701c793b652e23993855cc8a0..9bc5fb4376fc75d8b5dca15c8d6b3002668c7840 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
@@ -735,7 +735,6 @@ TEST_F(RemoteSuggestionsProviderTest, Full) {
EXPECT_EQ(GetDefaultCreationTime(), suggestion.publish_date());
EXPECT_EQ(kSnippetPublisherName,
base::UTF16ToUTF8(suggestion.publisher_name()));
- EXPECT_EQ(GURL(kSnippetAmpUrl), suggestion.amp_url());
}
TEST_F(RemoteSuggestionsProviderTest, CategoryTitle) {
@@ -805,7 +804,6 @@ TEST_F(RemoteSuggestionsProviderTest, MultipleCategories) {
EXPECT_EQ(GetDefaultCreationTime(), suggestion.publish_date());
EXPECT_EQ(kSnippetPublisherName,
base::UTF16ToUTF8(suggestion.publisher_name()));
- EXPECT_EQ(GURL(kSnippetAmpUrl), suggestion.amp_url());
}
{
@@ -817,7 +815,6 @@ TEST_F(RemoteSuggestionsProviderTest, MultipleCategories) {
EXPECT_EQ(GetDefaultCreationTime(), suggestion.publish_date());
EXPECT_EQ(kSnippetPublisherName,
base::UTF16ToUTF8(suggestion.publisher_name()));
- EXPECT_EQ(GURL(kSnippetAmpUrl), suggestion.amp_url());
}
}

Powered by Google App Engine
This is Rietveld 408576698