| 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 86b4bb16f38d2db9247a30d3ad01ae7250395e85..793f9677b9f6c10f32b4e0d3a0f4a680ccee9824 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
|
| @@ -687,26 +687,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,
|
|
|