init
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
2025-07-25 03:05:58 +02:00
commit 41afc170ba
86 changed files with 9924 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
use music_metadata_manager::app::App;
use loco_rs::{task, testing::prelude::*};
use loco_rs::boot::run_task;
use serial_test::serial;
#[tokio::test]
#[serial]
async fn test_can_run_create_user() {
let boot = boot_test::<App>().await.unwrap();
assert!(
run_task::<App>(&boot.app_context, Some(&"create_user".to_string()), &task::Vars::default())
.await
.is_ok()
);
}