From fea071745336423643219ce8b1bf463c8e109051 Mon Sep 17 00:00:00 2001 From: maia Date: Mon, 30 Nov 2026 22:43:01 +0100 Subject: [PATCH] swarm-authelia-bridge: the two tests that call handle pass the bounds --- swarm-authelia-bridge/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm-authelia-bridge/src/main.rs b/swarm-authelia-bridge/src/main.rs index f81639bd7..a0aec1a9d 100644 --- a/swarm-authelia-bridge/src/main.rs +++ b/swarm-authelia-bridge/src/main.rs @@ -1007,7 +1007,7 @@ mod tests { .unwrap(); let write_lock = tokio::sync::Mutex::new(()); - handle(&config, &write_lock, "atlas".to_owned()) + handle(&config, &write_lock, PATIENT, "atlas".to_owned()) .await .expect("the create goes through"); @@ -1016,7 +1016,7 @@ mod tests { assert_eq!(after.users["first.last@corp"].groups, ["admins"]); assert_eq!(after.users["first.last@corp"].password, "$argon2id$human"); // The name this request writes is still held to the charset. - handle(&config, &write_lock, "has space".to_owned()) + handle(&config, &write_lock, PATIENT, "has space".to_owned()) .await .expect_err("the written name is validated"); let _ = std::fs::remove_dir_all(&dir);