use loco_rs::{boot::run_task, task, testing}; use {{settings.module_name}}::app::App; use serial_test::serial; #[tokio::test] #[serial] async fn test_can_seed_data() { let boot = testing::boot_test::().await.unwrap(); assert!(run_task::( &boot.app_context, Some(&"seed_data".to_string()), &task::Vars::default() ) .await .is_ok()); }