mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-06 19:06:43 +08: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();
|
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]
|
#[actix_rt::test]
|
||||||
async fn error_performing_uuid_snapshot() {
|
async fn error_performing_uuid_snapshot() {
|
||||||
let mut uuid_resolver = MockUuidResolverHandle::new();
|
let mut uuid_resolver = MockUuidResolverHandle::new();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user