Refactor
pr CI / Test Suite (pull_request) Successful in 2m18s

This commit is contained in:
2026-08-12 16:10:05 -04:00
parent 6955c781c3
commit 7478f353ce
+8 -10
View File
@@ -2475,16 +2475,14 @@ mod tests {
match app match app
.clone() .clone()
.oneshot( .oneshot(
axum::http::Request::builder() super::request::run_post(
.method(axum::http::Method::GET) None,
.uri(crate::callers::endpoints::GETALLSONGS) crate::callers::endpoints::GETALLSONGS,
.header(axum::http::header::CONTENT_TYPE, "application/json") axum::http::Method::GET,
.header( false,
axum::http::header::AUTHORIZATION, )
super::bearer_auth().await, .await
) .unwrap(),
.body(axum::body::Body::empty())
.unwrap(),
) )
.await .await
{ {