diff --git a/codex-rs/core/tests/suite/rmcp_client.rs b/codex-rs/core/tests/suite/rmcp_client.rs index ab53c553f2..96d92ec661 100644 --- a/codex-rs/core/tests/suite/rmcp_client.rs +++ b/codex-rs/core/tests/suite/rmcp_client.rs @@ -2339,7 +2339,7 @@ async fn streamable_http_chatgpt_auth_respects_configured_authorization() -> any }, ); }) - .build_with_remote_env(&server) + .build_with_auto_env(&server) .await?; wait_for_mcp_server(&chatgpt_auth_fixture.codex, "chatgpt_auth").await?; drop(chatgpt_auth_fixture); @@ -2379,7 +2379,7 @@ async fn streamable_http_chatgpt_auth_respects_configured_authorization() -> any }, ); }) - .build_with_remote_env(&server) + .build_with_auto_env(&server) .await?; wait_for_mcp_server(&configured_auth_fixture.codex, "configured_auth").await?;