| Index: chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
|
| index ad88581fd5644290ce40247ddcd8481ffb3edcc2..4811cac5af0c6afce47acc212fcbf23c5620b5c2 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_persistence_unittest.cc
|
| @@ -43,14 +43,13 @@
|
| ASSERT_TRUE(mock_profile_manager_.SetUp());
|
|
|
| // Add a user.
|
| - const AccountId test_account_id(
|
| - AccountId::FromUserEmail("test-user@example.com"));
|
| - fake_user_manager_->AddUser(test_account_id);
|
| - fake_user_manager_->LoginUser(test_account_id);
|
| + const char kTestUserName[] = "test-user@example.com";
|
| + fake_user_manager_->AddUser(kTestUserName);
|
| + fake_user_manager_->LoginUser(kTestUserName);
|
|
|
| // Create a valid profile for the user.
|
| - TestingProfile* mock_profile = mock_profile_manager_.CreateTestingProfile(
|
| - test_account_id.GetUserEmail());
|
| + TestingProfile* mock_profile =
|
| + mock_profile_manager_.CreateTestingProfile(kTestUserName);
|
| mock_profile_manager_.SetLoggedIn(true);
|
| EXPECT_TRUE(ProfileManager::GetActiveUserProfile() == mock_profile);
|
|
|
|
|