(t *testing.T, httpHandler http.HandlerFunc)
| 463 | } |
| 464 | |
| 465 | func testServer(t *testing.T, httpHandler http.HandlerFunc) *httptest.Server { |
| 466 | t.Helper() |
| 467 | assert.NotNil(t, httpHandler) |
| 468 | server := httptest.NewServer(httpHandler) |
| 469 | t.Cleanup(server.Close) |
| 470 | return server |
| 471 | } |
no outgoing calls
no test coverage detected