fix: use separate db for tests
This commit is contained in:
parent
e239ff1c44
commit
f16554b764
@ -10,7 +10,7 @@ async fn setup_db() -> DB {
|
||||
dotenvy::dotenv().unwrap();
|
||||
let db_url = std::env::var("DATABASE_URL").unwrap();
|
||||
|
||||
DB::new(db_url, "gongbot".to_string()).await.unwrap()
|
||||
DB::new(db_url, "tests".to_string()).await.unwrap()
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user