Update tests for current tool call and app-server event types (#35942)

## What changed

- Set `encrypted_function_args` when constructing the router test's local tool call.
- Box the TUI test's app-server request payload to match `AppServerEvent::ServerRequest`.

GitOrigin-RevId: 45195f362bc912d202d95ea67271bcb102bf1e2a
This commit is contained in:
jif authored and copyberry committed 2026-07-29 12:01:38 +00:00
1 parent ddf33ea802
commit a4d2f31022
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -4411,12 +4411,12 @@ async fn background_side_cleanup_removes_local_state_and_ignores_late_events() -
app.handle_app_server_event(
&app_server,
codex_app_server_client::AppServerEvent::ServerRequest(exec_approval_request(
codex_app_server_client::AppServerEvent::ServerRequest(Box::new(exec_approval_request(
side_thread_id,
"turn-1",
"item-1",
Some("approval-1"),
)),
))),
)
.await;
let resolution = app