(t *testing.T)
| 139 | } |
| 140 | |
| 141 | func 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 | } |
nothing calls this directly
no test coverage detected