summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrylink/src/internal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrylink/src/internal.rs')
-rw-r--r--lib/entry/libimagentrylink/src/internal.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/entry/libimagentrylink/src/internal.rs b/lib/entry/libimagentrylink/src/internal.rs
index e7c06fd7..480a07bc 100644
--- a/lib/entry/libimagentrylink/src/internal.rs
+++ b/lib/entry/libimagentrylink/src/internal.rs
@@ -772,6 +772,7 @@ pub mod store_check {
#[cfg(test)]
mod test {
use std::path::PathBuf;
+ use std::sync::Arc;
use libimagstore::store::Store;
@@ -784,7 +785,7 @@ mod test {
pub fn get_store() -> Store {
use libimagstore::file_abstraction::InMemoryFileAbstraction;
- let backend = Box::new(InMemoryFileAbstraction::default());
+ let backend = Arc::new(InMemoryFileAbstraction::default());
Store::new_with_backend(PathBuf::from("/"), &None, backend).unwrap()
}