diff --git a/src/files.rs b/src/files.rs index e6feb99..7eba0d4 100644 --- a/src/files.rs +++ b/src/files.rs @@ -396,7 +396,7 @@ mod tests { } fn move_file>(&self, from: P, destination: P) -> anyhow::Result<()> { - todo!() + } } @@ -449,6 +449,7 @@ mod tests { Arc::new(StreamActor {}.start()), String::from("/tmp"), String::from("/tmp/thumbs"), + String::from("/tmp/video"), )), Data::new(RealFileSystem::new(String::from("/tmp"))), Data::new(Mutex::new(SqliteTagDao::default())), @@ -490,6 +491,7 @@ mod tests { Arc::new(StreamActor {}.start()), String::from("/tmp"), String::from("/tmp/thumbs"), + String::from("/tmp/video"), )), Data::new(RealFileSystem::new(String::from("./"))), Data::new(Mutex::new(SqliteTagDao::default())), @@ -536,6 +538,7 @@ mod tests { Arc::new(StreamActor {}.start()), String::from(""), String::from("/tmp/thumbs"), + String::from("/tmp/video"), )), Data::new(FakeFileSystem::new(files)), Data::new(Mutex::new(tag_dao)), @@ -593,6 +596,7 @@ mod tests { Arc::new(StreamActor {}.start()), String::from(""), String::from("/tmp/thumbs"), + String::from("/tmp/video"), )), Data::new(FakeFileSystem::new(files)), Data::new(Mutex::new(tag_dao)),