Index: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
diff --git a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
index ee8dbd0d6c9dd39ceb57f124d2ff26ae38891139..9f181bf0e36084b7dd900eee03eb168bdb947578 100644 |
--- a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
+++ b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc |
@@ -129,11 +129,13 @@ class ComponentCloudPolicyServiceTest : public testing::Test { |
expected_policy_.Set("Name", |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::StringValue("disabled"), |
nullptr); |
expected_policy_.Set("Second", |
POLICY_LEVEL_RECOMMENDED, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::StringValue("maybe"), |
nullptr); |
} |
@@ -514,6 +516,7 @@ TEST_F(ComponentCloudPolicyServiceTest, LoadInvalidPolicyFromCache) { |
expected_bundle.Get(ns).Set("Name", |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::StringValue("published"), |
nullptr); |
EXPECT_TRUE(service_->policy().Equals(expected_bundle)); |