From 979b01a1c07443bf3d3eabfd2e5b58a15c29c28c Mon Sep 17 00:00:00 2001 From: Balaji Sivaraman Date: Sat, 27 Jun 2020 18:44:25 +0530 Subject: [PATCH] update index status test to use the test dataset --- meilisearch-http/tests/index.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meilisearch-http/tests/index.rs b/meilisearch-http/tests/index.rs index 701dadf6a..965459282 100644 --- a/meilisearch-http/tests/index.rs +++ b/meilisearch-http/tests/index.rs @@ -666,10 +666,10 @@ async fn check_add_documents_without_primary_key() { #[actix_rt::test] async fn check_first_update_should_bring_up_processed_status_after_first_docs_addition() { - let mut server = common::Server::with_uid("movies"); + let mut server = common::Server::with_uid("test"); let body = json!({ - "uid": "movies", + "uid": "test", }); // 1. Create Index @@ -677,7 +677,7 @@ async fn check_first_update_should_bring_up_processed_status_after_first_docs_ad assert_eq!(status_code, 201); assert_eq!(response["primaryKey"], json!(null)); - let dataset = include_bytes!("assets/movies.json"); + let dataset = include_bytes!("assets/test_set.json"); let body: Value = serde_json::from_slice(dataset).unwrap();