diff --git a/src/api/mod.rs b/src/api/mod.rs index a84f2e8..8a6b1bd 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -97,9 +97,8 @@ pub mod test_prelude { /// Sets up a testing state with an in-memory database and creates the scheme. pub async fn setup_state() -> Result> { - let pool = sqlx::SqlitePool::connect(":memory:").await?; + let pool = sqlx::SqlitePool::connect("sqlite::memory:").await?; sqlx::migrate!("./migrations").run(&pool).await?; - tracing::info!("Database migrated"); let db = sea_orm::SqlxSqliteConnector::from_sqlx_sqlite_pool(pool);