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

Function TestHTTPErrorResponseWithDelete

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

Source from the content-addressed store, hash-verified

24)
25
26func TestHTTPErrorResponseWithDelete(t *testing.T) {
27 testHTTPErrorResponse(t, http.MethodDelete, contentType, "", http.StatusMethodNotAllowed)
28}
29
30func TestHTTPErrorResponseWithPut(t *testing.T) {
31 testHTTPErrorResponse(t, http.MethodPut, contentType, "", http.StatusMethodNotAllowed)

Callers

nothing calls this directly

Calls 1

testHTTPErrorResponseFunction · 0.85

Tested by

no test coverage detected