Updated testing
This commit is contained in:
+2
-2
@@ -757,7 +757,6 @@ async fn test_create_scheduled_message_event() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
match request::message::scheduling::create_scheduled_message(&app).await {
|
match request::message::scheduling::create_scheduled_message(&app).await {
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
let resp = util::get_resp_data::<
|
let resp = util::get_resp_data::<
|
||||||
@@ -765,13 +764,14 @@ async fn test_create_scheduled_message_event() {
|
|||||||
>(response)
|
>(response)
|
||||||
.await;
|
.await;
|
||||||
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
|
assert_eq!(false, resp.data.is_empty(), "Should not be empty");
|
||||||
scheduled_message_id = resp.data[0].id;
|
// scheduled_message_id = resp.data[0].id;
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
assert!(false, "Error: {err:?}");
|
assert!(false, "Error: {err:?}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
match request::message::scheduling::create_scheduled_message_event(
|
match request::message::scheduling::create_scheduled_message_event(
|
||||||
&app,
|
&app,
|
||||||
&contact_id,
|
&contact_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user