MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / InitWebhookTest

Function InitWebhookTest

db/event_manager_test.go:431–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

429}
430
431func InitWebhookTest() (*httptest.Server, *WebhookRequest) {
432 wr := &WebhookRequest{}
433 wr.Clear()
434 ts := httptest.NewServer(GetRouterWithHandler(wr))
435 return ts, wr
436}
437
438func TestWebhookBasic(t *testing.T) {
439 base.LongRunningTest(t)

Calls 2

ClearMethod · 0.95
GetRouterWithHandlerFunction · 0.85

Tested by

no test coverage detected