Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove redundant account login

Manav Rathi1af9d0fb3836
diff --git a/rust/crates/accounts/tests/accounts.rs b/rust/crates/accounts/tests/accounts.rs
index 9edebf276c..de9b5b5ec2 100644
--- a/rust/crates/accounts/tests/accounts.rs
+++ b/rust/crates/accounts/tests/accounts.rs
@@ -90,17 +90,6 @@ async fn run(endpoint: String) -> TestResult {
.await
.unwrap();
- let mut ui = TestUi { totp_secret: None };
- let login = AuthFlow::new(&accounts_client(endpoint), &mut ui)
- .login(LoginParams {
- email: email.clone(),
- password: Zeroizing::new(password.clone()),
- })
- .await
- .unwrap();
- assert_eq!(login.user_id, created.user_id);
- assert_eq!(login.secrets.master_key, created.secrets.master_key);
-
let mut ui = TestUi { totp_secret: None };
let setup = AuthFlow::new(&client, &mut ui)
.setup_two_factor(SetupTwoFactorParams {