Update the index swap tests after git rebase

This commit is contained in:
Loïc Lecrenier 2023-01-18 09:40:41 +01:00
parent b6ec1f1c6d
commit 82bdb54537
2 changed files with 5 additions and 5 deletions

View file

@ -155,7 +155,7 @@ async fn swap_indexes() {
server.wait_task(4).await;
// ensure the index creation worked properly
let (tasks, code) = server.tasks_filter(json!({ "limit": 2 })).await;
let (tasks, code) = server.tasks_filter("limit=2").await;
snapshot!(code, @"200 OK");
snapshot!(json_string!(tasks, { ".results[].duration" => "[duration]", ".results[].enqueuedAt" => "[date]", ".results[].startedAt" => "[date]", ".results[].finishedAt" => "[date]" }), @r###"
{