kindrid/gotest

View on GitHub
should/rest.go

Summary

Maintainability
A
35 mins
Test Coverage

Method RESTHarness.RunRequest has 5 return statements (exceeds 4 allowed).
Open

func (har *RESTHarness) RunRequest(requestID string, body string, params ...string) (result *RESTExchange) {
    var expected, actual *http.Response
    // Grab information from the Describer (API specification)
    result = &RESTExchange{}
    result.Request, expected, result.Err = har.API.GetRequest(requestID, body, params...)
Severity: Major
Found in should/rest.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status