Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dzlk17 committed Sep 24, 2024
1 parent 6535b8d commit bdcfc8a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/http/cloud/login/login_with_password.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down Expand Up @@ -264,6 +266,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down
2 changes: 2 additions & 0 deletions server/src/http/cloud/login/refresh_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down Expand Up @@ -196,6 +198,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down Expand Up @@ -225,6 +229,8 @@ mod tests {
// Register user
let register_payload = HttpRegisterWithPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ mod tests {

let password_reset_start_payload = HttpResetPasswordStartRequest {
email: email.to_string(),
device: "device".to_string(),
browser: "browser".to_string(),
};

let ip: ConnectInfo<SocketAddr> = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));
Expand Down

0 comments on commit bdcfc8a

Please sign in to comment.