mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
add missing shared servers
This commit is contained in:
parent
af38f46621
commit
c0912aa685
@ -152,7 +152,7 @@ async fn create_index_with_invalid_primary_key() {
|
|||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_create_multiple_indexes() {
|
async fn test_create_multiple_indexes() {
|
||||||
let server = Server::new().await;
|
let server = Server::new_shared();
|
||||||
let index1 = server.unique_index();
|
let index1 = server.unique_index();
|
||||||
let index2 = server.unique_index();
|
let index2 = server.unique_index();
|
||||||
let index3 = server.unique_index();
|
let index3 = server.unique_index();
|
||||||
@ -174,7 +174,7 @@ async fn test_create_multiple_indexes() {
|
|||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn error_create_existing_index() {
|
async fn error_create_existing_index() {
|
||||||
let server = Server::new().await;
|
let server = Server::new_shared();
|
||||||
let index = server.unique_index();
|
let index = server.unique_index();
|
||||||
let (_, code) = index.create(Some("primary")).await;
|
let (_, code) = index.create(Some("primary")).await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user