mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-25 18:06:00 +00:00
14 lines
372 B
Rust
14 lines
372 B
Rust
![]() |
use flowy_test::FlowyCoreTest;
|
||
|
|
||
|
use crate::util::{generate_test_email, get_af_cloud_config};
|
||
|
|
||
|
#[tokio::test]
|
||
|
async fn af_cloud_sign_up_test() {
|
||
|
if get_af_cloud_config().is_some() {
|
||
|
let test = FlowyCoreTest::new();
|
||
|
let email = generate_test_email();
|
||
|
let user = test.af_cloud_sign_in_with_email(&email).await.unwrap();
|
||
|
assert_eq!(user.email, email);
|
||
|
}
|
||
|
}
|