mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
remove bad file name test
This commit is contained in:
parent
4041d9dc48
commit
83ffdc888a
@ -165,21 +165,6 @@ mod test {
|
||||
snapshot_service.perform_snapshot().await.unwrap();
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn bad_file_name() {
|
||||
let uuid_resolver = MockUuidResolverHandle::new();
|
||||
let update_handle = MockUpdateActorHandle::new();
|
||||
|
||||
let snapshot_service = SnapshotService::new(
|
||||
uuid_resolver,
|
||||
update_handle,
|
||||
Duration::from_millis(100),
|
||||
"directory/".into(),
|
||||
);
|
||||
|
||||
assert!(snapshot_service.perform_snapshot().await.is_err());
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn error_performing_uuid_snapshot() {
|
||||
let mut uuid_resolver = MockUuidResolverHandle::new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user