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

Function createEmptyBodyResponse

backend/pkg/httpserver/server_test.go:1168–1177  ·  view source on GitHub ↗
(status int)

Source from the content-addressed store, hash-verified

1166 if delivery != m.recordVCSWebhookDeliveryCfg.expectedDelivery {
1167 m.t.Errorf("Incorrect arguments. Expected: %+v, Got: %+v",
1168 m.recordVCSWebhookDeliveryCfg.expectedDelivery, delivery)
1169 }
1170
1171 return m.recordVCSWebhookDeliveryCfg.output, m.recordVCSWebhookDeliveryCfg.err
1172 }
1173
1174 return true, nil
1175}
1176
1177type MockPublishSearchConfigurationChangedConfig struct {
1178 expectedResp *backend.SavedSearchResponse
1179 expectedUserID string
1180 expectedIsCreation bool

Callers 6

TestRemoveSavedSearchFunction · 0.85
TestPingUserFunction · 0.85
TestDeleteSubscriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected