Versions in this module Expand all Collapse all v1 v1.0.0 Sep 15, 2019 Changes in this version + func ExecuteAuthorizedRequest(request *http.Request, router httpServer, token string) (responseRecorder *httptest.ResponseRecorder) + func ExecuteRequest(request *http.Request, router httpServer) (responseRecorder *httptest.ResponseRecorder) + func ResponseCode(t *testing.T, expected, actual int) + type EndpointTester struct + Response *httptest.ResponseRecorder + Token *string + func NewAuthEndpointTester(method string, url string, router httpServer, token string) *EndpointTester + func NewEndpointTester(method string, url string, router httpServer) (response *EndpointTester) + func (et *EndpointTester) ChangeEndpoint(method string, url string) + func (et *EndpointTester) Test(exp int, payload []byte) func(*testing.T)