From 4262072d0d79449da6b94fb8863064c3fe7998d5 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Mon, 1 Dec 2025 15:13:48 +0300 Subject: Fixed test logic --- tests/http_funcs.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/http_funcs.rs') diff --git a/tests/http_funcs.rs b/tests/http_funcs.rs index b5b0e5e..a495b3a 100644 --- a/tests/http_funcs.rs +++ b/tests/http_funcs.rs @@ -61,6 +61,9 @@ license = "MIT" let config = create_test_config(temp_config_dir.path().to_str().unwrap()); let mut config_with_mock_url = config.clone(); + + config_with_mock_url.repo.repo_http_url = Some(server.url()); + config_with_mock_url.repo.repo_url = server.url(); let mut http_pkg = HTTPPackage::new(config_with_mock_url); @@ -124,6 +127,7 @@ license = "MIT" let temp_config_dir = TempDir::new()?; let config = create_test_config(temp_config_dir.path().to_str().unwrap()); let mut config_with_mock_url = config.clone(); + config_with_mock_url.repo.repo_http_url = Some(server.url()); config_with_mock_url.repo.repo_url = server.url(); let mut http_pkg = HTTPPackage::new(config_with_mock_url); -- cgit v1.2.3