remove bad file name test

This commit is contained in:
mpostma 2021-03-24 11:30:45 +01:00
parent 4041d9dc48
commit 83ffdc888a
No known key found for this signature in database
GPG Key ID: CBC8A7C1D7A28C3A
1 changed files with 0 additions and 15 deletions

View File

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