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
test(e2e): update expected error messages for oauth client key fetch
Steven Enamakelf03504647e08
diff --git a/tests/config_auth_app_state_connectivity_e2e.rs b/tests/config_auth_app_state_connectivity_e2e.rsindex c2b95f9b4e..02138539d7 100644--- a/tests/config_auth_app_state_connectivity_e2e.rs+++ b/tests/config_auth_app_state_connectivity_e2e.rs@@ -2504,13 +2504,10 @@ async fn credentials_public_ops_cover_service_and_missing_session_error_paths().expect_err("oauth token fetch without session should fail").contains("no backend session token"));assert!(- openhuman_core::security::credentials::oauth_fetch_client_key(- &config,- "0123456789abcdef01234567",- )- .await- .expect_err("client key fetch without session should fail")- .contains("session JWT required")+ oauth::oauth_fetch_client_key(&config, "0123456789abcdef01234567")+ .await+ .expect_err("client key fetch without session should fail")+ .contains("no backend session token"));assert!(oauth::oauth_revoke_integration(&config, "0123456789abcdef01234567")@@ -3470,7 +3467,7 @@ async fn auth_credentials_controller_paths_round_trip_and_validate_errors() {"unsupported channel",);- // `auth_oauth_*` (all but `fetch_client_key`) are served by+ // `auth_oauth_*` are served by// `openhuman-tinyhumans` now: validation first, then the core's// credential resolution, whose missing-session wording they report.for (id, method, params, needle) in [@@ -3496,7 +3493,7 @@ async fn auth_credentials_controller_paths_round_trip_and_validate_errors() {20_009,"openhuman.auth_oauth_fetch_client_key",json!({ "integrationId": "abc" }),- "session JWT required",+ "integrationId must be a 24-char hex id",),(20_010,