Index: components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc |
diff --git a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc |
index 694c9f4767cd0fc2821487fb380676e86f7a3eea..3ec38a484e9df17b91a24877caacf1f971ab5abb 100644 |
--- a/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc |
+++ b/components/policy/core/common/remote_commands/remote_commands_queue_unittest.cc |
@@ -36,7 +36,7 @@ em::RemoteCommand GenerateCommandProto(RemoteCommandJob::UniqueIDType unique_id, |
em::RemoteCommand command_proto; |
command_proto.set_type( |
enterprise_management::RemoteCommand_Type_COMMAND_ECHO_TEST); |
- command_proto.set_unique_id(unique_id); |
+ command_proto.set_command_id(unique_id); |
command_proto.set_age_of_command(age_of_command.InMilliseconds()); |
if (!payload.empty()) |
command_proto.set_payload(payload); |