This commit is contained in:
2026-06-13 19:41:46 -04:00
parent 2c02be488f
commit 899497e8e2
-7
View File
@@ -175,13 +175,7 @@ mod request {
"phone_number": super::TEST_CONTACT_PHONE_NUMBER,
"user_id": super::TEST_USER_ID,
});
// Create multipart form
// let mut form = MultipartForm::default();
// let _ = form.add_file("flac", "tests/I/track01.flac");
// Create request
// let content_type = form.content_type();
// let body = MultipartBody::from(form);
let req = axum::http::Request::builder()
.method(axum::http::Method::POST)
.uri(textsender_api::caller::endpoints::ADD_CONTACT)
@@ -191,7 +185,6 @@ mod request {
super::bearer_auth().await,
)
.body(axum::body::Body::from(payload.to_string()))
// .body(axum::body::Body::from_stream(body))
.unwrap();
app.clone().oneshot(req).await
}