mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
15 lines
364 B
Rust
15 lines
364 B
Rust
use flowy_user::prelude::*;
|
|
|
|
#[tokio::test]
|
|
async fn user_register_test() {
|
|
let server = UserServerImpl {};
|
|
|
|
let params = SignUpParams {
|
|
email: "annie@appflowy.io".to_string(),
|
|
name: "annie".to_string(),
|
|
password: "1233333".to_string(),
|
|
};
|
|
let result = server.sign_up(params).await.unwrap();
|
|
println!("{:?}", result);
|
|
}
|