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

Unified Diff: components/ntp_snippets/content_suggestions_service_unittest.cc

Issue 2751093003: Unifies the additional actions for Categories (Closed)
Patch Set: Fix compilation on Android (hopefully) Created 3 years, 9 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: components/ntp_snippets/content_suggestions_service_unittest.cc
diff --git a/components/ntp_snippets/content_suggestions_service_unittest.cc b/components/ntp_snippets/content_suggestions_service_unittest.cc
index 0ada92024430a7ee67ee19aecc7f4513f5f3be37..6a8236ab4cd28b62a084eede40063002b10d9d75 100644
--- a/components/ntp_snippets/content_suggestions_service_unittest.cc
+++ b/components/ntp_snippets/content_suggestions_service_unittest.cc
@@ -433,8 +433,7 @@ TEST_F(ContentSuggestionsServiceTest, ShouldReturnCategoryInfo) {
const CategoryInfo& actual = result.value();
EXPECT_THAT(expected.title(), Eq(actual.title()));
EXPECT_THAT(expected.card_layout(), Eq(actual.card_layout()));
- EXPECT_THAT(expected.has_fetch_action(), Eq(actual.has_fetch_action()));
- EXPECT_THAT(expected.has_view_all_action(), Eq(actual.has_view_all_action()));
+ EXPECT_THAT(expected.additional_action(), Eq(actual.additional_action()));
}
TEST_F(ContentSuggestionsServiceTest,
« no previous file with comments | « components/ntp_snippets/category_info.cc ('k') | components/ntp_snippets/mock_content_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698