| Index: components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| diff --git a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| index 14ac6b11058cd907a5a27a2c85540503409cd60d..282e47f3612411759f3d509125bb9c51e1d7ca2e 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| @@ -682,26 +682,6 @@ TEST_F(NTPSnippetsContentSuggestionsFetcherTest, ExclusiveCategoryOnly) {
|
| Eq("http://localhost/foo2"));
|
| }
|
|
|
| -// TODO(fhorschig): Check for behavioral changes instead of state.
|
| -TEST_F(ChromeReaderSnippetsFetcherTest, PersonalizesDependingOnVariations) {
|
| - // Default setting should be both personalization options.
|
| - EXPECT_THAT(snippets_fetcher().personalization(), Eq(Personalization::kBoth));
|
| -
|
| - SetVariationParam("fetching_personalization", "personal");
|
| - ResetSnippetsFetcher();
|
| - EXPECT_THAT(snippets_fetcher().personalization(),
|
| - Eq(Personalization::kPersonal));
|
| -
|
| - SetVariationParam("fetching_personalization", "non_personal");
|
| - ResetSnippetsFetcher();
|
| - EXPECT_THAT(snippets_fetcher().personalization(),
|
| - Eq(Personalization::kNonPersonal));
|
| -
|
| - SetVariationParam("fetching_personalization", "both");
|
| - ResetSnippetsFetcher();
|
| - EXPECT_THAT(snippets_fetcher().personalization(), Eq(Personalization::kBoth));
|
| -}
|
| -
|
| TEST_F(ChromeReaderSnippetsFetcherTest, ShouldFetchSuccessfullyEmptyList) {
|
| const std::string kJsonStr = "{\"recos\": []}";
|
| SetFakeResponse(/*response_data=*/kJsonStr, net::HTTP_OK,
|
|
|