diff --git a/codex-rs/core/tests/client.rs b/codex-rs/core/tests/client.rs index 2148e874bc..cb99799279 100644 --- a/codex-rs/core/tests/client.rs +++ b/codex-rs/core/tests/client.rs @@ -556,7 +556,7 @@ async fn env_var_overrides_loaded_auth() { } fn create_dummy_codex_auth() -> CodexAuth { - CodexAuth::new( + CodexAuth::create_dummy_codex_auth_for_testing( None, AuthMode::ChatGPT, PathBuf::new(), diff --git a/codex-rs/login/src/lib.rs b/codex-rs/login/src/lib.rs index 0157c77555..0908094b82 100644 --- a/codex-rs/login/src/lib.rs +++ b/codex-rs/login/src/lib.rs @@ -51,7 +51,7 @@ impl PartialEq for CodexAuth { } impl CodexAuth { - pub fn new( + pub fn create_dummy_codex_auth_for_testing( api_key: Option, mode: AuthMode, auth_file: PathBuf,