mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 16:06:31 +00:00 
			
		
		
		
	bump milli and fix tests
This commit is contained in:
		| @@ -51,7 +51,7 @@ main_error = "0.1.0" | ||||
| meilisearch-error = { path = "../meilisearch-error" } | ||||
| meilisearch-tokenizer = { git = "https://github.com/meilisearch/Tokenizer.git", tag = "v0.2.1" } | ||||
| memmap = "0.7.0" | ||||
| milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.1.1" } | ||||
| milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.2.0" } | ||||
| mime = "0.3.16" | ||||
| once_cell = "1.5.2" | ||||
| oxidized-json-checker = "0.3.2" | ||||
|   | ||||
| @@ -140,9 +140,7 @@ async fn add_documents_with_primary_key_and_primary_key_already_exists() { | ||||
|  | ||||
|     let (response, code) = index.get_update(0).await; | ||||
|     assert_eq!(code, 200); | ||||
|     assert_eq!(response["status"], "processed"); | ||||
|     assert_eq!(response["updateId"], 0); | ||||
|     assert_eq!(response["success"]["DocumentsAddition"]["nb_documents"], 1); | ||||
|     assert_eq!(response["status"], "failed"); | ||||
|  | ||||
|     let (response, code) = index.get().await; | ||||
|     assert_eq!(code, 200); | ||||
| @@ -168,9 +166,8 @@ async fn update_documents_with_primary_key_and_primary_key_already_exists() { | ||||
|     index.wait_update_id(0).await; | ||||
|     let (response, code) = index.get_update(0).await; | ||||
|     assert_eq!(code, 200); | ||||
|     assert_eq!(response["status"], "processed"); | ||||
|     assert_eq!(response["updateId"], 0); | ||||
|     assert_eq!(response["success"]["DocumentsAddition"]["nb_documents"], 1); | ||||
|     // Documents without a primary key are not accepted. | ||||
|     assert_eq!(response["status"], "failed"); | ||||
|  | ||||
|     let (response, code) = index.get().await; | ||||
|     assert_eq!(code, 200); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user