mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-02 23:21:11 +00:00
test fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
51f5acea22
commit
05749ab419
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user