Build insight title from generated summary
This commit is contained in:
12
src/files.rs
12
src/files.rs
@@ -1471,9 +1471,7 @@ mod tests {
|
||||
Data::new(AppState::test_state()),
|
||||
Data::new(RealFileSystem::new(temp_dir.to_str().unwrap().to_string())),
|
||||
Data::new(Mutex::new(SqliteTagDao::default())),
|
||||
Data::new(Mutex::new(
|
||||
Box::new(MockExifDao) as Box<dyn ExifDao>
|
||||
)),
|
||||
Data::new(Mutex::new(Box::new(MockExifDao) as Box<dyn ExifDao>)),
|
||||
)
|
||||
.await;
|
||||
|
||||
@@ -1518,9 +1516,7 @@ mod tests {
|
||||
Data::new(AppState::test_state()),
|
||||
Data::new(FakeFileSystem::new(HashMap::new())),
|
||||
Data::new(Mutex::new(tag_dao)),
|
||||
Data::new(Mutex::new(
|
||||
Box::new(MockExifDao) as Box<dyn ExifDao>
|
||||
)),
|
||||
Data::new(Mutex::new(Box::new(MockExifDao) as Box<dyn ExifDao>)),
|
||||
)
|
||||
.await;
|
||||
|
||||
@@ -1581,9 +1577,7 @@ mod tests {
|
||||
Data::new(AppState::test_state()),
|
||||
Data::new(FakeFileSystem::new(HashMap::new())),
|
||||
Data::new(Mutex::new(tag_dao)),
|
||||
Data::new(Mutex::new(
|
||||
Box::new(MockExifDao) as Box<dyn ExifDao>
|
||||
)),
|
||||
Data::new(Mutex::new(Box::new(MockExifDao) as Box<dyn ExifDao>)),
|
||||
)
|
||||
.await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user