16 lines
290 B
Rust
16 lines
290 B
Rust
|
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(())
|
||
|
}
|