diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index 9072014f5c..626e6d1504 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -39,11 +39,11 @@ const EXPERIMENTAL: &str = "experimental"; #[serde(rename_all = "lowercase")] pub enum TlsRootCerts { /// Use bundled Mozilla root certificates - #[default] Webpki, /// Use the system's native certificate store Native, /// Use both webpki and native certificates + #[default] All, } @@ -2791,14 +2791,6 @@ UNUSED = "unused" config.set("unknown-key", None).unwrap_err(); } - #[test] - fn test_tls_root_certs_default() { - let config = Config::default(); - // Default should be Webpki (bundled Mozilla roots) - assert_eq!(config.tls_root_certs(), TlsRootCerts::Webpki); - assert_eq!(config.tls_root_certs, None); - } - #[rstest] #[case("pinning-strategy", None, None)] #[case("pinning-strategy", Some("semver".to_string()), Some(PinningStrategy::Semver))]