tests(app-server): fix review thread-read borrow

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-13 21:18:25 +00:00
co-authored by Codex
parent f485ff2553
commit 05525668c9
+2 -2
View File
@@ -244,7 +244,7 @@ async fn review_start_exec_approval_item_id_matches_command_execution_item() ->
let read_id = mcp
.send_thread_read_request(ThreadReadParams {
thread_id,
thread_id: thread_id.clone(),
include_turns: true,
})
.await?;
@@ -257,7 +257,7 @@ async fn review_start_exec_approval_item_id_matches_command_execution_item() ->
let turn = thread
.turns
.iter()
.find(|turn| turn.id == turn_id)
.find(|turn| turn.id == turn_id.as_str())
.expect("did not observe completed review turn in thread/read");
let command_execution_item_ids = turn
.items