2023-05-27 22:46:50 +02:00
|
|
|
use chorus::types;
|
|
|
|
|
2023-06-11 13:52:31 +02:00
|
|
|
mod common;
|
|
|
|
|
2023-05-27 22:46:50 +02:00
|
|
|
#[tokio::test]
|
|
|
|
async fn test_registration() {
|
|
|
|
let mut bundle = common::setup().await;
|
|
|
|
let reg = types::RegisterSchema::new(
|
|
|
|
"Hiiii".to_string(),
|
|
|
|
None,
|
|
|
|
true,
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
Some("2000-01-01".to_string()),
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
)
|
2023-06-11 13:52:31 +02:00
|
|
|
.unwrap();
|
2023-05-27 22:46:50 +02:00
|
|
|
bundle.instance.register_account(®).await.unwrap();
|
|
|
|
common::teardown(bundle).await;
|
|
|
|
}
|