This commit is contained in:
bitfl0wer 2023-09-01 15:02:44 +02:00
parent 82cc1ff0ea
commit 607e1a3e83
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@ mod common;
#[tokio::test] #[tokio::test]
async fn test_registration() { async fn test_registration() {
let mut bundle = common::setup().await; let bundle = common::setup().await;
let reg = RegisterSchema { let reg = RegisterSchema {
username: "Hiiii".into(), username: "Hiiii".into(),
date_of_birth: Some("2000-01-01".to_string()), date_of_birth: Some("2000-01-01".to_string()),
consent: true, consent: true,
..Default::default() ..Default::default()
}; };
bundle.instance.register_account(reg).await.unwrap(); bundle.instance.clone().register_account(reg).await.unwrap();
common::teardown(bundle).await; common::teardown(bundle).await;
} }