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);