linting
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Web Blocking Checks (push) Successful in 50s
CI / Security Blocking Checks (push) Successful in 9s
CI / Clippy (push) Successful in 2m2s
CI / Web Advisory Checks (push) Successful in 33s
CI / Security Advisory Checks (push) Successful in 38s
CI / Tests (push) Failing after 8m12s
Some checks failed
CI / Rustfmt (push) Successful in 22s
CI / Cargo Audit & Deny (push) Successful in 36s
CI / Web Blocking Checks (push) Successful in 50s
CI / Security Blocking Checks (push) Successful in 9s
CI / Clippy (push) Successful in 2m2s
CI / Web Advisory Checks (push) Successful in 33s
CI / Security Advisory Checks (push) Successful in 38s
CI / Tests (push) Failing after 8m12s
This commit is contained in:
@@ -251,6 +251,7 @@ impl TestContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Create and authenticate a test user with identity + permission admin grants.
|
/// Create and authenticate a test user with identity + permission admin grants.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub async fn with_admin_auth(mut self) -> Result<Self> {
|
pub async fn with_admin_auth(mut self) -> Result<Self> {
|
||||||
let unique_id = uuid::Uuid::new_v4().to_string().replace("-", "")[..8].to_string();
|
let unique_id = uuid::Uuid::new_v4().to_string().replace("-", "")[..8].to_string();
|
||||||
let login = format!("adminuser_{}", unique_id);
|
let login = format!("adminuser_{}", unique_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user