mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-15 15:57:31 +01:00
remove unused imports.
This commit is contained in:
parent
0625d08e4e
commit
c6f14279d7
@ -1,6 +1,5 @@
|
|||||||
mod errors;
|
mod errors;
|
||||||
|
|
||||||
use byte_unit::rust_decimal::prelude::ToPrimitive;
|
|
||||||
use meili_snap::insta::assert_json_snapshot;
|
use meili_snap::insta::assert_json_snapshot;
|
||||||
use meili_snap::snapshot;
|
use meili_snap::snapshot;
|
||||||
|
|
||||||
@ -170,7 +169,7 @@ async fn list_batches_type_filtered() {
|
|||||||
let index = server.index("test");
|
let index = server.index("test");
|
||||||
let (task, _) = index.create(None).await;
|
let (task, _) = index.create(None).await;
|
||||||
index.wait_task(task.uid()).await.succeeded();
|
index.wait_task(task.uid()).await.succeeded();
|
||||||
let (task, _) = index.delete().await;
|
let (_task, _) = index.delete().await;
|
||||||
let (response, code) = index.filtered_batches(&["indexCreation"], &[], &[]).await;
|
let (response, code) = index.filtered_batches(&["indexCreation"], &[], &[]).await;
|
||||||
assert_eq!(code, 200, "{}", response);
|
assert_eq!(code, 200, "{}", response);
|
||||||
assert_eq!(response["results"].as_array().unwrap().len(), 1);
|
assert_eq!(response["results"].as_array().unwrap().len(), 1);
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
use actix_web::test;
|
use actix_web::test;
|
||||||
use actix_web::web::resource;
|
|
||||||
use meili_snap::{json_string, snapshot};
|
use meili_snap::{json_string, snapshot};
|
||||||
use meilisearch::Opt;
|
use meilisearch::Opt;
|
||||||
use time::format_description::well_known::Rfc3339;
|
use time::format_description::well_known::Rfc3339;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use actix_web::web::resource;
|
|
||||||
use meili_snap::{json_string, snapshot};
|
use meili_snap::{json_string, snapshot};
|
||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use actix_web::web::resource;
|
|
||||||
use meili_snap::{json_string, snapshot};
|
use meili_snap::{json_string, snapshot};
|
||||||
|
|
||||||
use crate::common::Server;
|
use crate::common::Server;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user