mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix: Update test for fields route, index creation to handle None value
This commit is contained in:
parent
e34021c315
commit
b53f7eb79f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ async fn error_get_stats_unexisting_index() {
|
|||
async fn fields() {
|
||||
let server = Server::new_shared();
|
||||
let index = server.unique_index();
|
||||
let (task, code) = index.create(Some("id")).await;
|
||||
let (task, code) = index.create(None).await;
|
||||
|
||||
assert_eq!(code, 202);
|
||||
server.wait_task(task.uid()).await.succeeded();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue