Index: chrome/browser/translate/translate_browsertest.cc |
diff --git a/chrome/browser/translate/translate_browsertest.cc b/chrome/browser/translate/translate_browsertest.cc |
index 70c49f30a3365129dc470842f89e9d19c42f43dc..b77a1cc4a71fda9082d0a436497d86d30d34ce4b 100644 |
--- a/chrome/browser/translate/translate_browsertest.cc |
+++ b/chrome/browser/translate/translate_browsertest.cc |
@@ -54,6 +54,11 @@ class TranslateBrowserTest : public InProcessBrowserTest { |
base::FilePath(kTranslateRoot)), |
infobar_service_(NULL) {} |
+ void SetUp() override { |
+ translate::TranslateManager::SetIgnoreMissingKeyForTesting(true); |
+ InProcessBrowserTest::SetUp(); |
+ } |
+ |
void SetUpCommandLine(base::CommandLine* command_line) override { |
ASSERT_TRUE(https_server_.Start()); |
// Setup alternate security origin for testing in order to allow XHR against |