Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Drop unreachable responses from the failing Codex plugin mock (#4032)

Worktrunk Bota0f30d6519fe
diff --git a/src/testing/mod.rs b/src/testing/mod.rs
index e38f60168..88c9e8d78 100644
--- a/src/testing/mod.rs
+++ b/src/testing/mod.rs
@@ -2417,7 +2417,7 @@ impl TestRepo {
self.claude_installed = true;
}
- /// Setup mock `codex` CLI where marketplace and plugin commands fail
+ /// Setup mock `codex` CLI where marketplace commands fail
///
/// Must call `setup_mock_ci_tools_unauthenticated()` first.
pub fn setup_mock_codex_with_plugins_failing(&mut self) {
@@ -2435,14 +2435,6 @@ impl TestRepo {
"plugin marketplace remove",
MockResponse::exit(1).with_stderr("error: marketplace remove failed\n"),
)
- .command(
- "plugin add",
- MockResponse::exit(1).with_stderr("error: plugin add failed\n"),
- )
- .command(
- "plugin remove",
- MockResponse::exit(1).with_stderr("error: plugin remove failed\n"),
- )
.write(mock_bin);
self.codex_installed = true;