From 8cc4d2f48613d234c5ad5d69ccff690e308d159b Mon Sep 17 00:00:00 2001 From: canvrno-oai Date: Tue, 16 Jun 2026 14:21:57 -0700 Subject: [PATCH] Fix PR6 auth manager test constructor --- codex-rs/cloud-config/src/backend_tests.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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;