mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Rename the uid to taskUid in asynchronous response
This commit is contained in:
parent
e5ef5a6f9c
commit
d2f457a076
9 changed files with 18 additions and 18 deletions
|
@ -94,7 +94,7 @@ async fn list_tasks() {
|
|||
macro_rules! assert_valid_summarized_task {
|
||||
($response:expr, $task_type:literal, $index:literal) => {{
|
||||
assert_eq!($response.as_object().unwrap().len(), 5);
|
||||
assert!($response["uid"].as_u64().is_some());
|
||||
assert!($response["taskUid"].as_u64().is_some());
|
||||
assert_eq!($response["indexUid"], $index);
|
||||
assert_eq!($response["status"], "enqueued");
|
||||
assert_eq!($response["type"], $task_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue