Trying to fix test
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user