From 67a709665ac7b50311b93e32612c9a8281684787 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Sun, 27 Sep 2026 07:44:58 +0000 Subject: [PATCH] Fix the session-start helper call in the command center test (#48646) Replace the stale `start_fresh_session_with_summary_hint` call with `start_fresh_session` in the test for restoring blank drafts and built-in permissions. GitOrigin-RevId: a1f1f75dc173a732af712511cf8f6a16f2e3c0fa --- codex-rs/tui/src/app/tests/background_task_defaults_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs index cbb1932c5d..f9b572d5e8 100644 --- a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs +++ b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs @@ -820,7 +820,7 @@ async fn command_center_new_restores_blank_drafts_and_builtin_permissions() -> R .await?; assert_eq!(app.chat_widget.thread_id(), Some(startup)); app.chat_widget.set_model("gpt-local-choice"); - app.start_fresh_session_with_summary_hint( + app.start_fresh_session( &mut tui, &mut server, /*session_start_source*/ None,