diff --git a/proxmox-api-macro/tests/api1.rs b/proxmox-api-macro/tests/api1.rs index be215660..ff37c74a 100644 --- a/proxmox-api-macro/tests/api1.rs +++ b/proxmox-api-macro/tests/api1.rs @@ -287,15 +287,15 @@ impl proxmox::api::RpcEnvironment for RpcEnv { panic!("env_type called"); } - /// Set user name - fn set_user(&mut self, user: Option) { + /// Set authentication id + fn set_auth_id(&mut self, user: Option) { let _ = user; - panic!("set_user called"); + panic!("set_auth_id called"); } - /// Get user name - fn get_user(&self) -> Option { - panic!("get_user called"); + /// Get authentication id + fn get_auth_id(&self) -> Option { + panic!("get_auth_id called"); } } diff --git a/proxmox-api-macro/tests/options.rs b/proxmox-api-macro/tests/options.rs index d59e0ad4..598f8623 100644 --- a/proxmox-api-macro/tests/options.rs +++ b/proxmox-api-macro/tests/options.rs @@ -54,15 +54,15 @@ impl proxmox::api::RpcEnvironment for RpcEnv { panic!("env_type called"); } - /// Set user name - fn set_user(&mut self, user: Option) { + /// Set authentication id + fn set_auth_id(&mut self, user: Option) { let _ = user; - panic!("set_user called"); + panic!("set_auth_id called"); } - /// Get user name - fn get_user(&self) -> Option { - panic!("get_user called"); + /// Get authentication id + fn get_auth_id(&self) -> Option { + panic!("get_auth_id called"); } }