diff --git a/core/src/util.rs b/core/src/util.rs index b932dac..ab47922 100644 --- a/core/src/util.rs +++ b/core/src/util.rs @@ -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; + } } \ No newline at end of file