chore(dump): add tests

This commit is contained in:
Tamo
2022-04-28 10:48:57 +02:00
committed by Irevoire
parent ae4e419db4
commit 5f0e9b63d2
23 changed files with 853 additions and 142 deletions

View File

@ -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(),