diff options
Diffstat (limited to 'src/client/shell/tests/agents_worktrees_notifications.rs')
| -rw-r--r-- | src/client/shell/tests/agents_worktrees_notifications.rs | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/src/client/shell/tests/agents_worktrees_notifications.rs b/src/client/shell/tests/agents_worktrees_notifications.rs index 2291318e..8b4cc8bd 100644 --- a/src/client/shell/tests/agents_worktrees_notifications.rs +++ b/src/client/shell/tests/agents_worktrees_notifications.rs @@ -747,7 +747,7 @@ fn workspace_actions_preserve_selected_target_and_client_confirmation() { let mut state = ClientShellState::new(ClientShellConfig::from_config(&Config::default())); state.set_snapshot(Box::new(snapshot)); state.mode = ClientShellMode::Navigate; - state.navigate_workspace_id = Some("ws_2".into()); + state.navigate_workspace_id = state.navigation_target(&ClientEndpointId::Local, "ws_2"); let rename = state.handle_raw_events(vec