From c810a0992ec13b044be0e0b664fdfe8796f12d55 Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Sun, 2 Nov 2025 16:37:35 -0800 Subject: [PATCH] revert mcp process test change --- codex-rs/app-server/tests/common/mcp_process.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/codex-rs/app-server/tests/common/mcp_process.rs b/codex-rs/app-server/tests/common/mcp_process.rs index d4b376d823..6f2b21aeb0 100644 --- a/codex-rs/app-server/tests/common/mcp_process.rs +++ b/codex-rs/app-server/tests/common/mcp_process.rs @@ -63,14 +63,7 @@ impl McpProcess { pub async fn new(codex_home: &Path) -> anyhow::Result { // Ensure tests run with the default Codex originator (codex_cli_rs) // regardless of any environment overrides that may be present. - Self::new_with_env( - codex_home, - &[( - codex_core::default_client::CODEX_INTERNAL_ORIGINATOR_OVERRIDE_ENV_VAR, - None, - )], - ) - .await + Self::new_with_env(codex_home, &[]).await } /// Creates a new MCP process, allowing tests to override or remove