From 05749ab4193f7f462d251eb4f141be7cd5c54b49 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 29 Oct 2020 14:51:06 +0100 Subject: [PATCH] test fixups Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/tests/api1.rs | 12 ++++++------ proxmox-api-macro/tests/options.rs | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) 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"); } }