diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-03-15 21:07:23 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-03-15 21:07:23 +0100 |
commit | d1aa5af564b242bb89eaf463d540bce54c7d5f92 (patch) | |
tree | 49712f8c577541729a3d2725720518b4aa338fc4 | |
parent | set enum variant serialization names (diff) | |
download | forgejo-api-d1aa5af564b242bb89eaf463d540bce54c7d5f92.tar.xz forgejo-api-d1aa5af564b242bb89eaf463d540bce54c7d5f92.zip |
adjust created user's email in test
-rw-r--r-- | tests/ci_test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs index 23724d5..c4d8a5d 100644 --- a/tests/ci_test.rs +++ b/tests/ci_test.rs @@ -316,7 +316,7 @@ async fn admin() { let user_opt = CreateUserOption { created_at: None, - email: "user@noreply.example.org".into(), + email: "pipis@noreply.example.org".into(), full_name: None, login_name: None, must_change_password: None, @@ -360,7 +360,7 @@ async fn admin() { assert!( users .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(), "could not find new user" ); |