diff --git a/codex-rs/cloud-config/src/backend_tests.rs b/codex-rs/cloud-config/src/backend_tests.rs index 76930cb099..5501faf0d4 100644 --- a/codex-rs/cloud-config/src/backend_tests.rs +++ b/codex-rs/cloud-config/src/backend_tests.rs @@ -1,17 +1,20 @@ use super::*; use codex_config::types::AuthCredentialsStoreMode; +use codex_login::AuthKeyringBackendKind; use codex_login::AuthRouteConfig; use pretty_assertions::assert_eq; #[tokio::test] async fn cloud_bundle_client_preserves_system_proxy_config() { let codex_home = tempfile::tempdir().expect("create temp dir"); - let auth_manager = AuthManager::new_with_auth_route_config( + let auth_manager = AuthManager::new( codex_home.path().to_path_buf(), /*enable_codex_api_key_env*/ false, AuthCredentialsStoreMode::File, - Some("https://chatgpt.com/backend-api/".to_string()), - Some(AuthRouteConfig::respect_system_proxy()), + /*forced_chatgpt_workspace_id*/ None, + /*chatgpt_base_url*/ Some("https://chatgpt.com/backend-api/".to_string()), + AuthKeyringBackendKind::default(), + /*auth_route_config*/ Some(AuthRouteConfig::respect_system_proxy()), ) .await;