Move app state to its own module
All checks were successful
Core Repos/ImageApi/pipeline/pr-master This commit looks good

This commit is contained in:
Cameron Cordes
2022-03-17 19:40:07 -04:00
parent 4d9b7c91a1
commit 528db5da3a
3 changed files with 38 additions and 32 deletions

View File

@@ -185,6 +185,7 @@ mod tests {
web::Data::new(AppState::new(
Arc::new(StreamActor {}.start()),
String::from("/tmp"),
String::from("/tmp/thumbs"),
)),
)
.await;
@@ -222,6 +223,7 @@ mod tests {
web::Data::new(AppState::new(
Arc::new(StreamActor {}.start()),
String::from("/tmp"),
String::from("/tmp/thumbs"),
)),
)
.await;