- chore: ran cargo fix on the codebase
This commit is contained in:
@@ -4,7 +4,7 @@ use tokio;
|
||||
async fn test_get_user() {
|
||||
// // Set up a temporary in-memory PostgreSQL database
|
||||
// let pool = PgPool::connect("postgres://user:password@localhost/test_database").await.unwrap();
|
||||
//
|
||||
//
|
||||
// // Create the test table
|
||||
// pool.execute(
|
||||
// r#"
|
||||
@@ -20,7 +20,7 @@ async fn test_get_user() {
|
||||
// )
|
||||
// .await
|
||||
// .unwrap();
|
||||
//
|
||||
//
|
||||
// // Test the `get_user` function
|
||||
// let user = get_user(&pool, "123").await.unwrap();
|
||||
// assert_eq!(user.user_id, "123");
|
||||
|
||||
Reference in New Issue
Block a user