fix(db): unit test

This commit is contained in:
subcrip 2024-03-29 20:09:32 +08:00
parent fae85e71d7
commit ff3afe2869
Signed by: subcrip
SSH Key Fingerprint: SHA256:dFPFi68d8C87YkFkEBU4TkcrYRySWpekRR1hbnDWUCw
1 changed files with 5 additions and 5 deletions

View File

@ -24,11 +24,11 @@ async fn main() {
println!("{}", json!(a));
}
// #[tokio::test]
// async fn test_table_level_operations() {
// use db::db_tests;
// let _b = db_tests::DBTestComponents::new(db::OAuthDatabase::connect("localhost", 5432, "postgres", "configjson", "myoauth").await.unwrap()).await.unwrap();
// }
#[tokio::test]
async fn test_table_level_operations() {
use db::db_tests;
let _b = db_tests::DBTestComponents::new(db::OAuthDatabase::connect("localhost", 5432, "postgres", "configjson", "myoauth").await.unwrap()).await.unwrap();
}
#[tokio::test(flavor = "multi_thread")]
async fn test_entry_level_operations() {