| Index: chrome/browser/policy/enterprise_install_attributes_unittest.cc
|
| diff --git a/chrome/browser/policy/enterprise_install_attributes_unittest.cc b/chrome/browser/policy/enterprise_install_attributes_unittest.cc
|
| index a8494a7e3b1a67fc73aec467b26458b61f558722..b22591492a6ed9bf40d3be73672c0c45ec0239c4 100644
|
| --- a/chrome/browser/policy/enterprise_install_attributes_unittest.cc
|
| +++ b/chrome/browser/policy/enterprise_install_attributes_unittest.cc
|
| @@ -39,11 +39,18 @@ TEST_F(EnterpriseInstallAttributesTest, Lock) {
|
| kTestUser,
|
| DEVICE_MODE_ENTERPRISE,
|
| kTestDeviceId));
|
| - EXPECT_EQ(EnterpriseInstallAttributes::LOCK_WRONG_USER,
|
| + // Another user from the4 same domain should also succeed.
|
| + EXPECT_EQ(EnterpriseInstallAttributes::LOCK_SUCCESS,
|
| install_attributes_.LockDevice(
|
| "test1@example.com",
|
| DEVICE_MODE_ENTERPRISE,
|
| kTestDeviceId));
|
| + // But another domain should fail.
|
| + EXPECT_EQ(EnterpriseInstallAttributes::LOCK_WRONG_USER,
|
| + install_attributes_.LockDevice(
|
| + "test@bluebears.com",
|
| + DEVICE_MODE_ENTERPRISE,
|
| + kTestDeviceId));
|
| }
|
|
|
| TEST_F(EnterpriseInstallAttributesTest, IsEnterpriseDevice) {
|
|
|