chore: remove unuse crates

This commit is contained in:
appflowy
2022-03-19 16:23:34 +08:00
parent 27628cc78e
commit b1d87d95cf
26 changed files with 71 additions and 191 deletions

View File

@ -3,7 +3,7 @@ use flowy_test::{event_builder::UserModuleEventBuilder, FlowySDKTest};
use flowy_user::{errors::ErrorCode, event_map::UserEvent::*};
use flowy_user_data_model::entities::{UpdateUserPayload, UserProfile};
use lib_infra::uuid;
use serial_test::*;
// use serial_test::*;
#[tokio::test]
async fn user_profile_get_failed() {
@ -17,7 +17,6 @@ async fn user_profile_get_failed() {
}
#[tokio::test]
#[serial]
async fn user_profile_get() {
let test = FlowySDKTest::default();
let user_profile = test.init_user().await;
@ -29,7 +28,6 @@ async fn user_profile_get() {
}
#[tokio::test]
#[serial]
async fn user_update_with_name() {
let sdk = FlowySDKTest::default();
let user = sdk.init_user().await;
@ -50,7 +48,6 @@ async fn user_update_with_name() {
}
#[tokio::test]
#[serial]
async fn user_update_with_email() {
let sdk = FlowySDKTest::default();
let user = sdk.init_user().await;
@ -70,7 +67,6 @@ async fn user_update_with_email() {
}
#[tokio::test]
#[serial]
async fn user_update_with_password() {
let sdk = FlowySDKTest::default();
let user = sdk.init_user().await;
@ -85,7 +81,6 @@ async fn user_update_with_password() {
}
#[tokio::test]
#[serial]
async fn user_update_with_invalid_email() {
let test = FlowySDKTest::default();
let user = test.init_user().await;
@ -104,7 +99,6 @@ async fn user_update_with_invalid_email() {
}
#[tokio::test]
#[serial]
async fn user_update_with_invalid_password() {
let test = FlowySDKTest::default();
let user = test.init_user().await;
@ -120,7 +114,6 @@ async fn user_update_with_invalid_password() {
}
#[tokio::test]
#[serial]
async fn user_update_with_invalid_name() {
let test = FlowySDKTest::default();
let user = test.init_user().await;