Files
movies-diary/crates/adapters/tmdb-enrichment/tests/client_tls.rs
Gabriel Kaszewski a270632e87
Some checks failed
CI / Check / Test (push) Has been cancelled
CI / Check / Test (pull_request) Has been cancelled
adapters install rustls ring provider before reqwest client; tui keyring deps to workspace; doc fixes
2026-10-26 05:24:25 +01:00

13 lines
405 B
Rust

//! Fresh test binary, no bootstrap: constructing the client must not panic
//! for lack of a rustls CryptoProvider.
use tmdb_enrichment::TmdbEnrichmentClient;
#[test]
fn tmdb_enrichment_builds_without_bootstrap() {
let cfg = config::MetadataConfig {
tmdb_api_key: Some("key".into()),
..Default::default()
};
TmdbEnrichmentClient::from_config(&cfg).expect("client builds");
}