cargo fmt
Rust Build / Rustfmt (pull_request) Successful in 40s
Rust Build / Test Suite (pull_request) Successful in 43s

This commit is contained in:
2026-06-18 14:08:09 -04:00
parent ad04ac81fb
commit 5562832663
3 changed files with 17 additions and 11 deletions
+6 -3
View File
@@ -355,7 +355,10 @@ mod request {
}
}
pub async fn get_scheduled_messages(app: &axum::Router, id: &uuid::Uuid) -> Result<axum::response::Response, axum::http::Error> {
pub async fn get_scheduled_messages(
app: &axum::Router,
id: &uuid::Uuid,
) -> Result<axum::response::Response, axum::http::Error> {
let uri = format!(
"{}?id={}",
textsender_api::caller::endpoints::GET_SCHEDULE_MESSAGE,
@@ -668,11 +671,11 @@ async fn test_get_scheduled_message() {
if let Some(parsed_id) = id {
match request::message::scheduling::get_scheduled_messages(&app, &parsed_id).await {
Ok(response) => {
let resp = util::get_resp_data::<
let resp = util::get_resp_data::<
textsender_api::caller::message::scheduling::response::GetScheduledMessageResponse,
>(response)
.await;
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
}
Err(err) => {
assert!(false, "Error: {err:?}");