There it goes
This commit is contained in:
+10
-2
@@ -388,7 +388,9 @@ mod request {
|
||||
"status": updated_status
|
||||
});
|
||||
|
||||
match super::super::run_post(Some(&payload), &uri, axum::http::Method::PATCH, true).await {
|
||||
match super::super::run_post(Some(&payload), &uri, axum::http::Method::PATCH, true)
|
||||
.await
|
||||
{
|
||||
Ok(req) => match app.clone().oneshot(req).await {
|
||||
Ok(response) => Ok(response),
|
||||
Err(err) => Err(axum::http::Error::from(err)),
|
||||
@@ -1120,7 +1122,13 @@ async fn test_update_scheduled_message_status() {
|
||||
}
|
||||
}
|
||||
|
||||
match request::message::scheduling::update_scheduled_message_status(&app, &scheduled_message_id, textsender_models::message::scheduling::READY).await {
|
||||
match request::message::scheduling::update_scheduled_message_status(
|
||||
&app,
|
||||
&scheduled_message_id,
|
||||
textsender_models::message::scheduling::READY,
|
||||
)
|
||||
.await
|
||||
{
|
||||
Ok(response) => {
|
||||
let resp = util::get_resp_data::<
|
||||
textsender_api::caller::message::scheduling::response::UpdateScheduledMessageStatusResponse,
|
||||
|
||||
Reference in New Issue
Block a user