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