summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r--cli/http_util.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs
index 671093923..ac8e1dff6 100644
--- a/cli/http_util.rs
+++ b/cli/http_util.rs
@@ -145,7 +145,8 @@ mod tests {
use std::fs::read;
fn create_test_client(ca_data: Option<Vec<u8>>) -> Client {
- create_http_client("test_client".to_string(), None, ca_data, None).unwrap()
+ create_http_client("test_client".to_string(), None, ca_data, None, None)
+ .unwrap()
}
#[tokio::test]
@@ -347,6 +348,7 @@ mod tests {
.unwrap(),
),
None,
+ None,
)
.unwrap();
let result = fetch_once(FetchOnceArgs {
@@ -376,6 +378,7 @@ mod tests {
None, // This will load mozilla certs by default
None,
None,
+ None,
)
.unwrap();
@@ -407,6 +410,7 @@ mod tests {
Some(RootCertStore::empty()), // no certs loaded at all
None,
None,
+ None,
)
.unwrap();
@@ -445,6 +449,7 @@ mod tests {
.unwrap(),
),
None,
+ None,
)
.unwrap();
let result = fetch_once(FetchOnceArgs {
@@ -484,6 +489,7 @@ mod tests {
.unwrap(),
),
None,
+ None,
)
.unwrap();
let result = fetch_once(FetchOnceArgs {
@@ -537,6 +543,7 @@ mod tests {
.unwrap(),
),
None,
+ None,
)
.unwrap();
let result = fetch_once(FetchOnceArgs {