summaryrefslogtreecommitdiff
path: root/internal/api/agentmcp_endpoint_test.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-08 09:21:19 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-08 09:21:19 +0000
commit4ffd8ad0a66578c6bf879260af77e49bfa09d794 (patch)
treed7be4452499c039a7b9f5fddc2c2020fa6cdda24 /internal/api/agentmcp_endpoint_test.go
parent09066e1e4e928487bea0658492fd8573607c77c3 (diff)
test(api): add missing ReportVerdict stub to fakeAgentChannel
Task 4's plan scope covered agentchannel.go/channel.go/channel_test.go but missed this second AgentChannel test double, which broke `go test ./...` (compile failure) even though `go build ./...` was clean.
Diffstat (limited to 'internal/api/agentmcp_endpoint_test.go')
-rw-r--r--internal/api/agentmcp_endpoint_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/agentmcp_endpoint_test.go b/internal/api/agentmcp_endpoint_test.go
index 0f1d846..dbc742c 100644
--- a/internal/api/agentmcp_endpoint_test.go
+++ b/internal/api/agentmcp_endpoint_test.go
@@ -34,6 +34,7 @@ func (f *fakeAgentChannel) ProposeEpic(context.Context, executor.EpicProposal) (
func (f *fakeAgentChannel) ProposeRoleConfig(context.Context, role.RoleConfig) (int, error) {
return 1, nil
}
+func (f *fakeAgentChannel) ReportVerdict(context.Context, bool, string) error { return nil }
type tokenRT struct {
token string