| Index: chrome/browser/policy/cloud_policy_subsystem_unittest.cc
|
| diff --git a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
|
| index e2f31678943bce5da6e01a2ca56376bb1ba9b7b1..74f586bf6d0f3df380199ea558618aed058728e6 100644
|
| --- a/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
|
| +++ b/chrome/browser/policy/cloud_policy_subsystem_unittest.cc
|
| @@ -243,10 +243,9 @@ class CloudPolicySubsystemTestBase : public TESTBASE {
|
| private:
|
| // Verifies for a given policy that it is provided by the subsystem.
|
| void VerifyPolicy(enum ConfigurationPolicyType type, Value* expected) {
|
| - MockConfigurationPolicyStore store;
|
| - EXPECT_CALL(store, Apply(_, _)).Times(AtLeast(1));
|
| - cache_->GetManagedPolicyProvider()->Provide(&store);
|
| - ASSERT_TRUE(Value::Equals(expected, store.Get(type)));
|
| + const PolicyMap* policy_map = cache_->policy(
|
| + CloudPolicyCacheBase::POLICY_LEVEL_MANDATORY);
|
| + ASSERT_TRUE(Value::Equals(expected, policy_map->Get(type)));
|
| }
|
|
|
| // Verifies that the last recorded run of the subsystem did not issue
|
|
|