adapters install rustls ring provider before reqwest client; tui keyring deps to workspace; doc fixes
This commit is contained in:
12
crates/adapters/tmdb-enrichment/tests/client_tls.rs
Normal file
12
crates/adapters/tmdb-enrichment/tests/client_tls.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
//! 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");
|
||||
}
|
||||
Reference in New Issue
Block a user