Skip to content

Commit

Permalink
test: specify decoder feature as required for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omjadas committed Apr 17, 2022
1 parent cfb836c commit 6525805
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ required-features = ["openssl-certs", "rustls-client"]

[[test]]
name = "openssl_ca"
required-features = ["decoder", "openssl-certs"]
required-features = ["decoder", "openssl-certs", "decoder"]

[[test]]
name = "rcgen_ca"
required-features = ["decoder", "rcgen-certs"]
required-features = ["decoder", "rcgen-certs", "decoder"]

[[bench]]
name = "certificate_authorities"
Expand Down
3 changes: 3 additions & 0 deletions tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ pub fn build_client(proxy: &str) -> reqwest::Client {
reqwest::Client::builder()
.proxy(proxy)
.add_root_certificate(ca_cert)
.no_brotli()
.no_deflate()
.no_gzip()
.build()
.unwrap()
}
Expand Down

0 comments on commit 6525805

Please sign in to comment.