mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
chore(dump): add tests
This commit is contained in:
parent
ae4e419db4
commit
5f0e9b63d2
23 changed files with 853 additions and 142 deletions
|
@ -41,7 +41,7 @@ async fn perform_snapshot() {
|
|||
..default_settings(temp.path())
|
||||
};
|
||||
|
||||
let server = Server::new_with_options(options).await;
|
||||
let server = Server::new_with_options(options).await.unwrap();
|
||||
|
||||
let index = server.index("test");
|
||||
index
|
||||
|
@ -67,7 +67,7 @@ async fn perform_snapshot() {
|
|||
..default_settings(temp.path())
|
||||
};
|
||||
|
||||
let snapshot_server = Server::new_with_options(options).await;
|
||||
let snapshot_server = Server::new_with_options(options).await.unwrap();
|
||||
|
||||
verify_snapshot!(server, snapshot_server, |server| =>
|
||||
server.list_indexes(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue