diff --git a/server/src/http/cloud/login/login_with_password.rs b/server/src/http/cloud/login/login_with_password.rs index c5ccd52b..d765762d 100644 --- a/server/src/http/cloud/login/login_with_password.rs +++ b/server/src/http/cloud/login/login_with_password.rs @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); diff --git a/server/src/http/cloud/login/refresh_token.rs b/server/src/http/cloud/login/refresh_token.rs index f634a1a7..371338b4 100644 --- a/server/src/http/cloud/login/refresh_token.rs +++ b/server/src/http/cloud/login/refresh_token.rs @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); diff --git a/server/src/http/cloud/register/register_with_password_finish.rs b/server/src/http/cloud/register/register_with_password_finish.rs index fd5b559d..a11adb7a 100644 --- a/server/src/http/cloud/register/register_with_password_finish.rs +++ b/server/src/http/cloud/register/register_with_password_finish.rs @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080))); diff --git a/server/src/http/cloud/reset_credentials/reset_password_finish.rs b/server/src/http/cloud/reset_credentials/reset_password_finish.rs index 5964d98e..c410d284 100644 --- a/server/src/http/cloud/reset_credentials/reset_password_finish.rs +++ b/server/src/http/cloud/reset_credentials/reset_password_finish.rs @@ -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 = ConnectInfo(SocketAddr::from(([127, 0, 0, 1], 8080)));