tirocinio-canali-steffo-acrate/acrate_database/tests/integration_tests.rs

16 lines
290 B
Rust
Raw Permalink Normal View History

2024-12-13 03:06:26 +00:00
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(())
}