chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption

This commit is contained in:
Michael Bolin
2025-08-07 14:19:41 -07:00
parent 7d67159587
commit 6db81d73d2
2 changed files with 2 additions and 2 deletions

View File

@@ -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(),

View File

@@ -51,7 +51,7 @@ impl PartialEq for CodexAuth {
}
impl CodexAuth {
pub fn new(
pub fn create_dummy_codex_auth_for_testing(
api_key: Option<String>,
mode: AuthMode,
auth_file: PathBuf,