From 519093ea65c9a39a49f56cac8439a68b29a18f7e Mon Sep 17 00:00:00 2001 From: marin postma Date: Fri, 29 Oct 2021 17:32:05 +0200 Subject: [PATCH] fix bad rebase --- .../tests/documents/add_documents.rs | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/meilisearch-http/tests/documents/add_documents.rs b/meilisearch-http/tests/documents/add_documents.rs index e9fdf7233..e1747d779 100644 --- a/meilisearch-http/tests/documents/add_documents.rs +++ b/meilisearch-http/tests/documents/add_documents.rs @@ -190,7 +190,8 @@ async fn error_add_malformed_csv_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post @@ -250,7 +251,8 @@ async fn error_add_malformed_json_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post @@ -310,7 +312,8 @@ async fn error_add_malformed_ndjson_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post @@ -370,7 +373,8 @@ async fn error_add_missing_payload_csv_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post @@ -420,7 +424,8 @@ async fn error_add_missing_payload_json_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post @@ -470,7 +475,8 @@ async fn error_add_missing_payload_ndjson_documents() { let app = test::init_service(create_app!( &server.service.meilisearch, true, - &server.service.options + &server.service.options, + analytics::MockAnalytics::new(&server.service.options).0 )) .await; // post