swarm-authelia-bridge: the two tests that call handle pass the bounds
This commit is contained in:
parent
1849df3212
commit
0a36991528
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue