mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user