mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
fix tests
This commit is contained in:
parent
0d3fb5ee0d
commit
0dfd1b74c8
10 changed files with 23 additions and 22 deletions
|
@ -12,7 +12,7 @@ async fn create_and_delete_index() {
|
|||
|
||||
assert_eq!(code, 204);
|
||||
|
||||
assert_eq!(index.get().await.1, 400);
|
||||
assert_eq!(index.get().await.1, 404);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -21,5 +21,5 @@ async fn delete_unexisting_index() {
|
|||
let index = server.index("test");
|
||||
let (_response, code) = index.delete().await;
|
||||
|
||||
assert_eq!(code, 400);
|
||||
assert_eq!(code, 404);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue