Skip to content

Commit 185cc23

Browse files
intel352claude
andcommitted
fix(orchestrator): update wiring hook count and names in test
TestPlugin_WiringHooks expected 20 hooks; the new ratchet.mcp_tools_wiring hook added in the Genkit/Ollama fix brings the total to 21. Update the count and add the missing name to the expected map. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 971629a commit 185cc23

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

orchestrator/ratchetplugin_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,8 +1054,8 @@ func TestPlugin_WiringHooks(t *testing.T) {
10541054
p := New()
10551055
hooks := p.WiringHooks()
10561056

1057-
if len(hooks) != 20 {
1058-
t.Fatalf("expected 20 wiring hooks, got %d", len(hooks))
1057+
if len(hooks) != 21 {
1058+
t.Fatalf("expected 21 wiring hooks, got %d", len(hooks))
10591059
}
10601060

10611061
expectedNames := map[string]bool{
@@ -1079,6 +1079,7 @@ func TestPlugin_WiringHooks(t *testing.T) {
10791079
"ratchet.browser_manager": false,
10801080
"ratchet.test_interaction": false,
10811081
"ratchet.blackboard": false,
1082+
"ratchet.mcp_tools_wiring": false,
10821083
}
10831084
for _, h := range hooks {
10841085
if _, ok := expectedNames[h.Name]; !ok {

0 commit comments

Comments
 (0)