| Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| index 1d3ae605db989b8e85b78813eb6535de54b4c2f4..2231fd0c3c35209ccf643bdd27f26a494044cfaa 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| @@ -499,6 +499,8 @@ TEST_F(ProfileChooserControllerTest, SignedInProfileLockEnabled) {
|
| // The preference, not the email, determines whether the profile can lock.
|
| browser()->profile()->GetPrefs()->SetString(
|
| prefs::kGoogleServicesHostedDomain, "google.com");
|
| + // Lock is only available where a supervised user is present.
|
| + cache->SetSupervisedUserIdOfProfileAtIndex(1, kEmail);
|
|
|
| StartProfileChooserController();
|
| NSArray* subviews = [[[controller() window] contentView] subviews];
|
|
|