diff options
Diffstat (limited to 'kittybox-rs/src/database/mod.rs')
-rw-r--r-- | kittybox-rs/src/database/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/src/database/mod.rs b/kittybox-rs/src/database/mod.rs index 9072d9d..24cff38 100644 --- a/kittybox-rs/src/database/mod.rs +++ b/kittybox-rs/src/database/mod.rs @@ -546,7 +546,7 @@ mod tests { #[tokio::test] #[tracing_test::traced_test] async fn $func_name() { - let tempdir = tempdir::TempDir::new("file").expect("Failed to create tempdir"); + let tempdir = tempfile::tempdir().expect("Failed to create tempdir"); let backend = super::super::FileStorage::new( tempdir.path().to_path_buf() ) |