Trying to fix test
Rust Build / Rustfmt (pull_request) Successful in 26s
Rust Build / Test Suite (pull_request) Failing after 5m36s

This commit is contained in:
2026-06-17 17:39:06 -04:00
parent fe1ce848e1
commit 0ee6cd3a46
+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)