From 986a99296d8b41d98ca8a7ec015fcc53c8bcb39d Mon Sep 17 00:00:00 2001 From: ad hoc Date: Wed, 25 May 2022 11:24:35 +0200 Subject: [PATCH] remove useless dump test --- meilisearch-http/tests/dumps/mod.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/meilisearch-http/tests/dumps/mod.rs b/meilisearch-http/tests/dumps/mod.rs index 8395ec3aa..22625f17f 100644 --- a/meilisearch-http/tests/dumps/mod.rs +++ b/meilisearch-http/tests/dumps/mod.rs @@ -6,23 +6,6 @@ use serde_json::json; use self::data::GetDump; -#[actix_rt::test] -async fn get_unexisting_dump_status() { - let server = Server::new().await; - - let (response, code) = server.get_dump_status("foobar").await; - assert_eq!(code, 404); - - let expected_response = json!({ - "message": "Dump `foobar` not found.", - "code": "dump_not_found", - "type": "invalid_request", - "link": "https://docs.meilisearch.com/errors#dump_not_found" - }); - - assert_eq!(response, expected_response); -} - // all the following test are ignored on windows. See #2364 #[actix_rt::test] #[cfg_attr(target_os = "windows", ignore)]