Fix auth
This commit is contained in:
parent
635361a417
commit
c6fa385e28
|
@ -4,13 +4,13 @@ mod common;
|
|||
|
||||
#[tokio::test]
|
||||
async fn test_registration() {
|
||||
let mut bundle = common::setup().await;
|
||||
let bundle = common::setup().await;
|
||||
let reg = RegisterSchema {
|
||||
username: "Hiiii".into(),
|
||||
date_of_birth: Some("2000-01-01".to_string()),
|
||||
consent: true,
|
||||
..Default::default()
|
||||
};
|
||||
bundle.instance.register_account(reg).await.unwrap();
|
||||
bundle.instance.clone().register_account(reg).await.unwrap();
|
||||
common::teardown(bundle).await;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue