Cleaned up test

This commit is contained in:
kdeng00
2025-07-25 18:09:32 -04:00
parent 962f57cd04
commit 94f9f78623
+1 -15
View File
@@ -1832,24 +1832,10 @@ mod tests {
} }
let pool = super::db_mgr::connect_to_db(&db_name).await.unwrap(); let pool = super::db_mgr::connect_to_db(&db_name).await.unwrap();
// super::super::db::migrations(&pool).await;
super::db_mgr::migrations(&pool).await; super::db_mgr::migrations(&pool).await;
/*
let uri = format!("{}?id={}", crate::callers::endpoints::QUEUEMETADATA, id);
let req = axum::http::Request::builder()
.method(axum::http::Method::GET)
.uri(uri)
.header(axum::http::header::CONTENT_TYPE, "application/json")
.body(axum::body::Body::empty())
.unwrap();
app.clone().oneshot(req).await
*/
let id_result = uuid::Uuid::parse_str("44cf7940-34ff-489f-9124-d0ec90a55af9");
let mut id = uuid::Uuid::nil(); let mut id = uuid::Uuid::nil();
match id_result { match uuid::Uuid::parse_str("44cf7940-34ff-489f-9124-d0ec90a55af9") {
Ok(val) => { Ok(val) => {
id = val; id = val;
} }