mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +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:
1 parent
7769bccbb2
commit
b04ed4c50c
2 files changed
+2
No files matched your search
@@ -3094,6 +3094,7 @@ async fn remote_resume_rejects_explicit_permission_override() -> Result<()> {
|
|||||||
SessionTarget {
|
SessionTarget {
|
||||||
thread_id: ThreadId::new(),
|
thread_id: ThreadId::new(),
|
||||||
path: None,
|
path: None,
|
||||||
|
cwd: None,
|
||||||
history_mode: None,
|
history_mode: None,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ async fn cli_fork_omits_implicit_model_and_effort() -> Result<()> {
|
|||||||
SessionSelection::Fork(crate::resume_picker::SessionTarget {
|
SessionSelection::Fork(crate::resume_picker::SessionTarget {
|
||||||
path: None,
|
path: None,
|
||||||
thread_id: source,
|
thread_id: source,
|
||||||
|
cwd: None,
|
||||||
history_mode: None,
|
history_mode: None,
|
||||||
}),
|
}),
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in new issue
Block a user