Watch
0
0
Fork
You've already forked hyperhive
0

swarm-authelia-bridge: the two tests that call handle pass the bounds

This commit is contained in:
maia 2026-11-30 22:43:01 +01:00
commit 0a36991528

View file

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