fix(db): unit test
This commit is contained in:
parent
fae85e71d7
commit
ff3afe2869
10
src/main.rs
10
src/main.rs
|
@ -24,11 +24,11 @@ async fn main() {
|
||||||
println!("{}", json!(a));
|
println!("{}", json!(a));
|
||||||
}
|
}
|
||||||
|
|
||||||
// #[tokio::test]
|
#[tokio::test]
|
||||||
// async fn test_table_level_operations() {
|
async fn test_table_level_operations() {
|
||||||
// use db::db_tests;
|
use db::db_tests;
|
||||||
// let _b = db_tests::DBTestComponents::new(db::OAuthDatabase::connect("localhost", 5432, "postgres", "configjson", "myoauth").await.unwrap()).await.unwrap();
|
let _b = db_tests::DBTestComponents::new(db::OAuthDatabase::connect("localhost", 5432, "postgres", "configjson", "myoauth").await.unwrap()).await.unwrap();
|
||||||
// }
|
}
|
||||||
|
|
||||||
#[tokio::test(flavor = "multi_thread")]
|
#[tokio::test(flavor = "multi_thread")]
|
||||||
async fn test_entry_level_operations() {
|
async fn test_entry_level_operations() {
|
||||||
|
|
Loading…
Reference in New Issue