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

@ -26,3 +26,13 @@ pub async fn get_memory_sqlite_connection() -> sea_orm::DbConn {
.unwrap(); .unwrap();
db 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;
}
}