[codex] Fix stale approval policy in MCP test (#29704)

## Summary

- replace the removed `AskForApproval::OnFailure` variant in the MCP
shutdown test with `OnRequest`

## Why

`OnFailure` was removed from `AskForApproval`, but this test fixture
still referenced it, causing Rust and Clippy compilation failures.

## Validation

- `just test -p codex-mcp shutdown_continues_after_caller_is_aborted`
- `just fmt`
This commit is contained in:
Boyang Niu
2026-06-23 13:18:50 -07:00
committed by GitHub
Unverified
parent 00dc5ea397
commit 7aab4b04bf

Diff Content Not Available