mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
fix tui name lookup test
This commit is contained in:
@@ -2800,7 +2800,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn lookup_session_target_by_name_uses_backend_title_search() -> color_eyre::Result<()> {
|
||||
async fn lookup_session_target_by_name_uses_backend_name_search() -> color_eyre::Result<()> {
|
||||
Box::pin(async {
|
||||
let temp_dir = TempDir::new()?;
|
||||
let config = build_config(&temp_dir).await?;
|
||||
@@ -2838,7 +2838,7 @@ mod tests {
|
||||
);
|
||||
builder.cwd = session_cwd;
|
||||
let mut metadata = builder.build(config.model_provider_id.as_str());
|
||||
metadata.title = "saved-session".to_string();
|
||||
metadata.name = codex_state::ThreadName::Explicit("saved-session".to_string());
|
||||
metadata.first_user_message = Some("preview text".to_string());
|
||||
state_runtime
|
||||
.upsert_thread(&metadata)
|
||||
|
||||
Reference in New Issue
Block a user