Refactoring tests #257

Merged
phoenix merged 14 commits from refactoring_tests into main 2026-08-12 16:53:24 -04:00
Showing only changes of commit 7478f353ce - Show all commits
+8 -10
View File
@@ -2475,16 +2475,14 @@ mod tests {
match app
.clone()
.oneshot(
axum::http::Request::builder()
.method(axum::http::Method::GET)
.uri(crate::callers::endpoints::GETALLSONGS)
.header(axum::http::header::CONTENT_TYPE, "application/json")
.header(
axum::http::header::AUTHORIZATION,
super::bearer_auth().await,
)
.body(axum::body::Body::empty())
.unwrap(),
super::request::run_post(
None,
crate::callers::endpoints::GETALLSONGS,
axum::http::Method::GET,
false,
)
.await
.unwrap(),
)
.await
{