MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / createRequest

Method createRequest

handlers/path_test.go:21–23  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

19}
20
21func (s *PathTestSuite) createRequest(path string) *http.Request {
22 return httptest.NewRequest(http.MethodGet, path, nil)
23}
24
25func (s *PathTestSuite) TestParsePath() {
26 testCases := []struct {

Callers 1

TestParsePathMethod · 0.95

Calls 1

NewRequestMethod · 0.80

Tested by

no test coverage detected