1
0
Fork 0

adjust created user's email in test

This commit is contained in:
Cyborus 2024-03-15 16:07:23 -04:00
parent ea4320cfb5
commit d1aa5af564
No known key found for this signature in database

View file

@ -316,7 +316,7 @@ async fn admin() {
let user_opt = CreateUserOption { let user_opt = CreateUserOption {
created_at: None, created_at: None,
email: "user@noreply.example.org".into(), email: "pipis@noreply.example.org".into(),
full_name: None, full_name: None,
login_name: None, login_name: None,
must_change_password: None, must_change_password: None,
@ -360,7 +360,7 @@ async fn admin() {
assert!( assert!(
users users
.iter() .iter()
.find(|u| u.email.as_ref().unwrap() == "user@noreply.example.org") .find(|u| u.email.as_ref().unwrap() == "pipis@noreply.example.org")
.is_some(), .is_some(),
"could not find new user" "could not find new user"
); );