about summary refs log tree commit diff stats
path: root/crates/rocie-server/tests/users
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rocie-server/tests/users')
-rw-r--r--crates/rocie-server/tests/users/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rocie-server/tests/users/mod.rs b/crates/rocie-server/tests/users/mod.rs
index 8138691..d381e8f 100644
--- a/crates/rocie-server/tests/users/mod.rs
+++ b/crates/rocie-server/tests/users/mod.rs
@@ -45,7 +45,7 @@ async fn test_register_user() {
         @expect_error "The password is wrong"
         env,
         login(LoginInfo {
-            id: user_id,
+            user_name: "me".to_owned(),
             password: "hunter13".to_owned()
         })
     );
@@ -53,7 +53,7 @@ async fn test_register_user() {
     request!(
         env,
         login(LoginInfo {
-            id: user_id,
+            user_name: "me".to_owned(),
             password: "hunter14".to_owned()
         })
     );