remove unused imports.

This commit is contained in:
Mahmoud Rawas 2025-01-08 14:45:57 +11:00
parent 0625d08e4e
commit c6f14279d7
4 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,5 @@
mod errors;
use byte_unit::rust_decimal::prelude::ToPrimitive;
use meili_snap::insta::assert_json_snapshot;
use meili_snap::snapshot;
@ -170,7 +169,7 @@ async fn list_batches_type_filtered() {
let index = server.index("test");
let (task, _) = index.create(None).await;
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;
assert_eq!(code, 200, "{}", response);
assert_eq!(response["results"].as_array().unwrap().len(), 1);

View File

@ -1,5 +1,4 @@
use actix_web::test;
use actix_web::web::resource;
use meili_snap::{json_string, snapshot};
use meilisearch::Opt;
use time::format_description::well_known::Rfc3339;

View File

@ -1,4 +1,3 @@
use actix_web::web::resource;
use meili_snap::{json_string, snapshot};
use once_cell::sync::Lazy;

View File

@ -1,4 +1,3 @@
use actix_web::web::resource;
use meili_snap::{json_string, snapshot};
use crate::common::Server;