From d979b6da3622b458922a7a57b3e7aaf18fcab291 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Mon, 1 Dec 2025 15:35:46 +0300 Subject: Fixed root-required tests --- tests/shared.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/shared.rs') diff --git a/tests/shared.rs b/tests/shared.rs index bdbc81a..5df63de 100644 --- a/tests/shared.rs +++ b/tests/shared.rs @@ -4,12 +4,13 @@ pub fn create_test_config(temp_dir_path: &str) -> Config { let cfg: Config = Config { repo: Repo { repo_url: format!(r"http://mesk.anthrill.i2p/repo/{}", std::env::consts::ARCH), + repo_http_url: format!(r"http://mesk.anthrill.com/repo/{}", std::env::consts::ARCH) + .into(), auto_update: true, destination: (String::from("mesk"), String::from("mesk")), - repo_http_url: None, }, log: Log { - log_file: String::from("/var/log/mesk.log"), + log_file: String::from("mesk.log"), log_level: Loglevel::Info, }, paths: Paths { -- cgit v1.2.3