diff --git a/codex-rs/mcp-server/tests/codex_tool.rs b/codex-rs/mcp-server/tests/codex_tool.rs index 1ebd10a7..13866d97 100644 --- a/codex-rs/mcp-server/tests/codex_tool.rs +++ b/codex-rs/mcp-server/tests/codex_tool.rs @@ -86,9 +86,7 @@ async fn shell_command_approval_triggers_elicitation() -> anyhow::Result<()> { ) .await??; - // This is the first request from the server, so the id should be 0 given - // how things are currently implemented. - let elicitation_request_id = RequestId::Integer(0); + let elicitation_request_id = elicitation_request.id.clone(); let params = serde_json::from_value::( elicitation_request .params