mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-21 16:11:56 +00:00
14 lines
379 B
Rust
14 lines
379 B
Rust
use event_integration::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);
|
|
}
|
|
}
|