mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
Initialize cwd in TUI resume and fork test fixtures (#43419)
Set `SessionTarget::cwd` to `None` in the remote resume permission-override and CLI fork startup tests to match the struct's required fields. GitOrigin-RevId: d1e7a2e6b7ae3dda17ef062984917861c12fdeff
This commit is contained in:
@@ -3094,6 +3094,7 @@ async fn remote_resume_rejects_explicit_permission_override() -> Result<()> {
|
||||
SessionTarget {
|
||||
thread_id: ThreadId::new(),
|
||||
path: None,
|
||||
cwd: None,
|
||||
history_mode: None,
|
||||
},
|
||||
)
|
||||
|
||||
@@ -107,6 +107,7 @@ async fn cli_fork_omits_implicit_model_and_effort() -> Result<()> {
|
||||
SessionSelection::Fork(crate::resume_picker::SessionTarget {
|
||||
path: None,
|
||||
thread_id: source,
|
||||
cwd: None,
|
||||
history_mode: None,
|
||||
}),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user