From c6fa385e2822b39f04f55ca34aff1f89271607ac Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Fri, 1 Sep 2023 15:02:44 +0200 Subject: [PATCH] Fix auth --- tests/auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auth.rs b/tests/auth.rs index f94f024..f89e5e4 100644 --- a/tests/auth.rs +++ b/tests/auth.rs @@ -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; }