Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
index 64592864b7432c62c82f21ee5454d021bdd94345..e8a0f02ae8840d0393f39aff62ebc1e0e7851d28 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc |
@@ -105,6 +105,9 @@ class WizardControllerFlowTest : public WizardControllerTest { |
virtual Browser* CreateBrowser(Profile* profile) { |
Browser* ret = WizardControllerTest::CreateBrowser(profile); |
+ // Make sure that OOBE is run as an "official" build. |
+ WizardController::default_controller()->is_official_build_ = true; |
+ |
// Set up the mocks for all screens. |
MOCK(mock_account_screen_, account_screen_, chromeos::AccountScreen); |
MOCK(mock_login_screen_, login_screen_, chromeos::LoginScreen); |