test fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-10-29 14:51:06 +01:00
parent 51f5acea22
commit 05749ab419
2 changed files with 12 additions and 12 deletions

View File

@ -287,15 +287,15 @@ impl proxmox::api::RpcEnvironment for RpcEnv {
panic!("env_type called");
}
/// Set user name
fn set_user(&mut self, user: Option<String>) {
/// Set authentication id
fn set_auth_id(&mut self, user: Option<String>) {
let _ = user;
panic!("set_user called");
panic!("set_auth_id called");
}
/// Get user name
fn get_user(&self) -> Option<String> {
panic!("get_user called");
/// Get authentication id
fn get_auth_id(&self) -> Option<String> {
panic!("get_auth_id called");
}
}

View File

@ -54,15 +54,15 @@ impl proxmox::api::RpcEnvironment for RpcEnv {
panic!("env_type called");
}
/// Set user name
fn set_user(&mut self, user: Option<String>) {
/// Set authentication id
fn set_auth_id(&mut self, user: Option<String>) {
let _ = user;
panic!("set_user called");
panic!("set_auth_id called");
}
/// Get user name
fn get_user(&self) -> Option<String> {
panic!("get_user called");
/// Get authentication id
fn get_auth_id(&self) -> Option<String> {
panic!("get_auth_id called");
}
}