MCPcopy Create free account
hub / github.com/CPChain/chain / TestHTTPErrorResponseWithPut

Function TestHTTPErrorResponseWithPut

api/rpc/http_test.go:30–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestHTTPErrorResponseWithPut(t *testing.T) {
31 testHTTPErrorResponse(t, http.MethodPut, contentType, "", http.StatusMethodNotAllowed)
32}
33
34func TestHTTPErrorResponseWithMaxContentLength(t *testing.T) {
35 body := make([]rune, maxRequestContentLength+1)

Callers

nothing calls this directly

Calls 1

testHTTPErrorResponseFunction · 0.85

Tested by

no test coverage detected