diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-10 14:26:31 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-10 14:26:31 +0300 |
| commit | 13fe950fe436982b5ea855e9c32ad471c618732b (patch) | |
| tree | 9b6b56f90e0e199be35c933e667029197b425c12 | |
| parent | 831bb66c0cda103f79b2418389cd6528c03ade56 (diff) | |
test: stabilize shell-based api and cli wrapper tests
| -rw-r--r-- | tests/api_ping.rs | 1 | ||||
| -rw-r--r-- | tests/cli_wrapper.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/api_ping.rs b/tests/api_ping.rs index c513fa4f..ea4a9ef1 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -91,6 +91,7 @@ fn spawn_herdr_with_path( cmd.env("XDG_CONFIG_HOME", config_home); cmd.env("XDG_RUNTIME_DIR", runtime_dir); cmd.env("HERDR_SOCKET_PATH", socket_path); + cmd.env("SHELL", "/bin/sh"); cmd.env_remove("HERDR_ENV"); if let Some(path) = path_override { cmd.env("PATH", path); diff --git a/tests/cli_wrapper.rs b/tests/cli_wrapper.rs index eb774e4a..36e015e6 100644 --- a/tests/cli_wrapper.rs +++ b/tests/cli_wrapper.rs @@ -912,7 +912,7 @@ fn wait_agent_status_exits_when_done_status_matches() { workspace_id ), ); - assert_eq!(tab_created["result"]["type"], "tab_info"); + assert_eq!(tab_created["result"]["type"], "tab_created"); let start_pi = run_cli(&socket_path, &["pane", "run", "1-1", "pi"]); assert!(start_pi.status.success()); |
