Schedule message #15

Merged
phoenix merged 19 commits from schedule_message into alot_of_changes 2026-06-17 17:51:34 -04:00
Showing only changes of commit 0ee6cd3a46 - Show all commits
+3 -1
View File
@@ -334,7 +334,7 @@ mod request {
time::Duration::minutes(20).into().add(&now);
*/
let now = time::OffsetDateTime::now_utc();
let scheduled = now + std::time::Duration::from_secs(20 * 60);
let scheduled = now + std::time::Duration::from_secs(60 * 60);
let payload = serde_json::json!({
"scheduled": scheduled,
"status": textsender_models::message::scheduling::PENDING,
@@ -611,6 +611,8 @@ async fn test_schedule_message() {
match request::message::scheduling::create_scheduled_message(&app).await {
Ok(response) => {
eprintln!("Response: {response:?}");
println!("Response: {response:?}");
let resp = util::get_resp_data::<
textsender_api::caller::message::scheduling::response::ScheduleMessageResponse,
>(response)