feat: sqlite memory connection test

This commit is contained in:
EETagent 2022-11-17 12:25:21 +01:00
parent 225583f552
commit fe1ddf9342

View file

@ -25,4 +25,14 @@ pub async fn get_memory_sqlite_connection() -> sea_orm::DbConn {
.await
.unwrap();
db
}
#[cfg(test)]
mod tests {
use super::get_memory_sqlite_connection;
#[tokio::test]
async fn test_get_memory_sqlite_connection() {
get_memory_sqlite_connection().await;
}
}