mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-05 12:38:55 +01:00
clippy & fmt fixed
This commit is contained in:
parent
109540011a
commit
a05101af4d
@ -19,7 +19,7 @@ async fn error_api_key_bad_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -91,7 +91,7 @@ async fn error_api_key_empty_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -163,7 +163,7 @@ async fn error_api_key_missing_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -227,7 +227,7 @@ async fn error_api_key_empty_payload() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -283,7 +283,7 @@ async fn error_api_key_malformed_payload() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
|
@ -18,7 +18,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -46,7 +46,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -72,7 +72,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -95,7 +95,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -118,7 +118,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -141,7 +141,7 @@ impl Service {
|
|||||||
&self.meilisearch,
|
&self.meilisearch,
|
||||||
&self.auth,
|
&self.auth,
|
||||||
true,
|
true,
|
||||||
&self.options,
|
self.options,
|
||||||
analytics::MockAnalytics::new(&self.options).0
|
analytics::MockAnalytics::new(&self.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
|
@ -63,7 +63,7 @@ async fn error_json_bad_content_type() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -146,7 +146,7 @@ async fn extract_actual_content_type() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
|
@ -21,7 +21,7 @@ async fn add_documents_test_json_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -66,7 +66,7 @@ async fn add_single_document_test_json_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -112,7 +112,7 @@ async fn error_add_documents_test_bad_content_types() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -180,7 +180,7 @@ async fn error_add_documents_test_no_content_type() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -240,7 +240,7 @@ async fn error_add_malformed_csv_documents() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -414,7 +414,7 @@ async fn error_add_malformed_ndjson_documents() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -474,7 +474,7 @@ async fn error_add_missing_payload_csv_documents() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -526,7 +526,7 @@ async fn error_add_missing_payload_json_documents() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
@ -578,7 +578,7 @@ async fn error_add_missing_payload_ndjson_documents() {
|
|||||||
&server.service.meilisearch,
|
&server.service.meilisearch,
|
||||||
&server.service.auth,
|
&server.service.auth,
|
||||||
true,
|
true,
|
||||||
&server.service.options,
|
server.service.options,
|
||||||
analytics::MockAnalytics::new(&server.service.options).0
|
analytics::MockAnalytics::new(&server.service.options).0
|
||||||
))
|
))
|
||||||
.await;
|
.await;
|
||||||
|
Loading…
Reference in New Issue
Block a user