MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / assertUserInCtx

Function assertUserInCtx

backend/pkg/httpserver/server_test.go:1685–1690  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, expectedUser *auth.User)

Source from the content-addressed store, hash-verified

1683 _ backend.ListMissingOneImplementationFeaturesRequestObject) (
1684 backend.ListMissingOneImplementationFeaturesResponseObject, error) {
1685 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1686 m.callCount++
1687 panic("unimplemented")
1688}
1689
1690// CreateSubscription implements backend.StrictServerInterface.
1691// nolint: ireturn // WONTFIX - generated method signature
1692func (m *mockServerInterface) CreateSubscription(ctx context.Context,
1693 _ backend.CreateSubscriptionRequestObject) (

Callers 15

CreateSavedSearchMethod · 0.85
GetFeatureMethod · 0.85
GetFeatureMetadataMethod · 0.85
GetSavedSearchMethod · 0.85
ListFeatureWPTMetricsMethod · 0.85
ListFeaturesMethod · 0.85
ListUserSavedSearchesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected