| 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 a7021243716cc0f07bf4286a25cb9878d7f517b0..cd50664d7df5c453d96d88906f9db219e6450bdc 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_provider_unittest.cc
|
| @@ -465,8 +465,9 @@ class RemoteSuggestionsProviderTest : public ::testing::Test {
|
|
|
| // Add an initial fetch response, as the service tries to fetch when there
|
| // is nothing in the DB.
|
| - if (set_empty_response)
|
| + if (set_empty_response) {
|
| SetUpFetchResponse(GetTestJson(std::vector<std::string>()));
|
| + }
|
|
|
| // TODO(treib): Find a better way to wait for initialization to finish.
|
| base::RunLoop().RunUntilIdle();
|
|
|