This commit is contained in:
Louis Dureuil 2023-05-03 17:41:35 +02:00
parent b5fe0b2b07
commit 2b74e4d116
No known key found for this signature in database

View File

@ -220,18 +220,18 @@ async fn delete_document_by_filter() {
} }
"###); "###);
let response = index.wait_task(2).await; let response = index.wait_task(3).await;
snapshot!(json_string!(response, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" }), @r###" snapshot!(json_string!(response, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" }), @r###"
{ {
"uid": 2, "uid": 3,
"indexUid": "doggo", "indexUid": "doggo",
"status": "succeeded", "status": "succeeded",
"type": "documentDeletion", "type": "documentDeletion",
"canceledBy": null, "canceledBy": null,
"details": { "details": {
"providedIds": 0, "providedIds": 0,
"deletedDocuments": 2, "deletedDocuments": 1,
"originalFilter": "\"color = blue\"" "originalFilter": "\"color NOT EXISTS\""
}, },
"error": null, "error": null,
"duration": "[duration]", "duration": "[duration]",