MCPcopy Create free account
hub / github.com/diillson/chatcli / TestHubUnauthenticatedRejected

Function TestHubUnauthenticatedRejected

server/handler_hub_test.go:141–146  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

139}
140
141func TestHubUnauthenticatedRejected(t *testing.T) {
142 h := newHubHandler(t)
143 if _, err := h.ResolveActiveConversation(context.Background(), &pb.ResolveActiveConversationRequest{}); status.Code(err) != codes.Unauthenticated {
144 t.Fatalf("expected Unauthenticated without user, got %v", err)
145 }
146}

Callers

nothing calls this directly

Calls 2

newHubHandlerFunction · 0.85

Tested by

no test coverage detected