use acrate_database::connect::{connect_async, connect_sync}; #[test] #[ignore] fn test_connect_sync() -> diesel::ConnectionResult<()> { connect_sync()?; Ok(()) } #[tokio::test] #[ignore] async fn test_connect_async() -> diesel::ConnectionResult<()> { connect_async().await?; Ok(()) }