mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-09 05:35:41 +00:00
Use unique server+index for list_tasks_type_filtered()
test case
Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
parent
a50b69b868
commit
f95f29c492
@ -175,8 +175,9 @@ async fn list_tasks_status_filtered() {
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn list_tasks_type_filtered() {
|
||||
let server = Server::new_shared();
|
||||
let index = server.unique_index();
|
||||
// Do not use a shared server because we want to assert stuff against the global list of tasks
|
||||
let server = Server::new().await;
|
||||
let index = server.index("test");
|
||||
let (task, _status_code) = index.create(None).await;
|
||||
index.wait_task(task.uid()).await.succeeded();
|
||||
index
|
||||
|
Loading…
x
Reference in New Issue
Block a user