diff --git a/src/tests.rs b/src/tests.rs index 47c838b..eeef7b0 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -23,11 +23,7 @@ macro_rules! test_service { let cache_dir = dbg!(tempdir().unwrap()); let repos = format!("{}/", repo_dir.path().display()); let cache = format!("{}/", cache_dir.path().display()); - let state = dbg!(State { - repos, - cache, - logger: crate::config::init(), - }); + let state = dbg!(State { repos, cache }); let mut app = test_app!(state, web::resource($path).to($what::));