summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrygps/src/entry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrygps/src/entry.rs')
-rw-r--r--lib/entry/libimagentrygps/src/entry.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/entry/libimagentrygps/src/entry.rs b/lib/entry/libimagentrygps/src/entry.rs
index 410ad2cd..6c6177eb 100644
--- a/lib/entry/libimagentrygps/src/entry.rs
+++ b/lib/entry/libimagentrygps/src/entry.rs
@@ -104,7 +104,6 @@ impl GPSEntry for Entry {
#[cfg(test)]
mod tests {
use std::path::PathBuf;
- use std::sync::Arc;
use libimagstore::store::Store;
@@ -115,9 +114,7 @@ mod tests {
}
fn get_store() -> Store {
- use libimagstore::file_abstraction::InMemoryFileAbstraction;
- let backend = Arc::new(InMemoryFileAbstraction::default());
- Store::new_with_backend(PathBuf::from("/"), &None, backend).unwrap()
+ Store::new_inmemory(PathBuf::from("/"), &None).unwrap()
}
#[test]