Test cleanup
This commit is contained in:
@@ -430,19 +430,11 @@ mod request {
|
||||
app: &axum::Router,
|
||||
scheduled_message_event_id: &uuid::Uuid,
|
||||
) -> Result<axum::response::Response, axum::http::Error> {
|
||||
/*
|
||||
let uri = format!(
|
||||
"{}?scheduled_message_id={}",
|
||||
textsender_api::caller::endpoints::GET_SCHEDULED_MESSAGE_EVENT,
|
||||
scheduled_message_id
|
||||
);
|
||||
*/
|
||||
let uri = super::super::super::util::format_url_with_value(
|
||||
textsender_api::caller::endpoints::DELETE_SCHEDULED_MESSAGE_EVENT,
|
||||
scheduled_message_event_id,
|
||||
)
|
||||
.await;
|
||||
println!("Link: {uri:?}");
|
||||
|
||||
match super::super::run_post(None, &uri, axum::http::Method::DELETE, false).await {
|
||||
Ok(req) => match app.clone().oneshot(req).await {
|
||||
|
||||
Reference in New Issue
Block a user