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

Function submitRequest

backend/pkg/httpserver/server_test.go:1692–1701  ·  view source on GitHub ↗
(t *testing.T, url string, method string)

Source from the content-addressed store, hash-verified

1690// CreateSubscription implements backend.StrictServerInterface.
1691// nolint: ireturn // WONTFIX - generated method signature
1692func (m *mockServerInterface) CreateSubscription(ctx context.Context,
1693 _ backend.CreateSubscriptionRequestObject) (
1694 backend.CreateSubscriptionResponseObject, error) {
1695 assertUserInCtx(ctx, m.t, m.expectedUserInCtx)
1696 m.callCount++
1697 panic("unimplemented")
1698}
1699
1700// UpdateSubscription implements backend.StrictServerInterface.
1701// nolint: ireturn // WONTFIX - generated method signature
1702func (m *mockServerInterface) UpdateSubscription(ctx context.Context,
1703 _ backend.UpdateSubscriptionRequestObject) (
1704 backend.UpdateSubscriptionResponseObject, error) {

Callers 2

TestMiddlewaresOrderFunction · 0.85
testAuthScopeFunction · 0.85

Calls 1

DoMethod · 0.65

Tested by

no test coverage detected