Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: components/policy/core/common/cloud/cloud_policy_service_unittest.cc

Issue 2728463004: Remove enterprise serial number recovery feature (Closed)
Patch Set: Removed access to removed fied in policy_testserver.py. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/cloud_policy_service_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_service_unittest.cc b/components/policy/core/common/cloud/cloud_policy_service_unittest.cc
index 8888272115cd3093af6686ed9f3749829d9d3598..ba21cd95127ff0ce06bf3d3c34734a96cdc193b5 100644
--- a/components/policy/core/common/cloud/cloud_policy_service_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_service_unittest.cc
@@ -74,14 +74,12 @@ TEST_F(CloudPolicyServiceTest, PolicyUpdateSuccess) {
store_.policy_->set_request_token("fake token");
store_.policy_->set_device_id("fake client id");
store_.policy_->set_timestamp(32);
- store_.policy_->set_valid_serial_number_missing(true);
store_.policy_->set_public_key_version(17);
EXPECT_CALL(client_,
SetupRegistration(store_.policy_->request_token(),
store_.policy_->device_id())).Times(1);
store_.NotifyStoreLoaded();
EXPECT_EQ(base::Time::FromJavaTime(32), client_.last_policy_timestamp_);
- EXPECT_TRUE(client_.submit_machine_id_);
EXPECT_TRUE(client_.public_key_version_valid_);
EXPECT_EQ(17, client_.public_key_version_);
}

Powered by Google App Engine
This is Rietveld 408576698