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:
jif
2026-09-07 10:04:50 +00:00
committed by copyberry
parent 7769bccbb2
commit b04ed4c50c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
}),
));