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 0be0dd69e0beaddf5847bc63d0c27174ee2c1513..4771148b96458086b2a96ea91c6722d1c0be6c7e 100644 |
--- a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc |
+++ b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc |
@@ -301,7 +301,9 @@ class RemoteSuggestionsFetcherTestBase : public testing::Test { |
fetcher_ = base::MakeUnique<RemoteSuggestionsFetcher>( |
utils_.fake_signin_manager(), fake_token_service_.get(), |
std::move(request_context_getter), utils_.pref_service(), nullptr, |
- base::Bind(&ParseJsonDelayed), kAPIKey, user_classifier_.get()); |
+ base::Bind(&ParseJsonDelayed), |
+ GetFetchEndpoint(version_info::Channel::STABLE), kAPIKey, |
+ user_classifier_.get()); |
fetcher_->SetClockForTesting(mock_task_runner_->GetMockClock()); |
} |