summaryrefslogtreecommitdiff
path: root/tests/http_funcs.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-12-01 15:13:48 +0300
committerNamilskyy <alive6863@gmail.com>2025-12-01 15:13:48 +0300
commit4262072d0d79449da6b94fb8863064c3fe7998d5 (patch)
treea69c2df5792de1b90b6cdc5309158c056b749963 /tests/http_funcs.rs
parent4030a202f8f2eeb20d0ecb547a9d656a8e2821c5 (diff)
Fixed test logic
Diffstat (limited to 'tests/http_funcs.rs')
-rw-r--r--tests/http_funcs.rs4
1 files changed, 4 insertions, 0 deletions
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);