The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(tools): add integration toggle tests
Steven Enamakel21f9640ffdb6
diff --git a/crates/openhuman-core/src/config/schema/tools/integrations_integration_toggle_tests_tests.rs b/crates/openhuman-core/src/config/schema/tools/integrations_integration_toggle_tests_tests.rsindex 0afd8f5bf2..4437eefedf 100644--- a/crates/openhuman-core/src/config/schema/tools/integrations_integration_toggle_tests_tests.rs+++ b/crates/openhuman-core/src/config/schema/tools/integrations_integration_toggle_tests_tests.rs@@ -53,3 +53,22 @@ fn default_is_managed_and_active() {assert!(toggle.api_key.is_none());assert!(toggle.is_active());}++#[test]+fn integrations_config_ignores_retired_twilio_and_apify_keys() {+ let raw = r#"+ [twilio]+ enabled = true+ mode = "managed"++ [apify]+ enabled = false++ [google_places]+ enabled = false+ "#;+ let cfg: IntegrationsConfig =+ toml::from_str(raw).expect("old config with retired keys must still load");+ assert!(!cfg.google_places.enabled);+ assert!(cfg.parallel.enabled);+}