Fix linter warning
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com> Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
This commit is contained in:
@@ -35,7 +35,7 @@ func TestAppendNewRouteFromRequest(t *testing.T) {
|
|||||||
// "command": "echo Hello World | kapow set /response/body"
|
// "command": "echo Hello World | kapow set /response/body"
|
||||||
//}`
|
//}`
|
||||||
respJsonRoute := model.Route{}
|
respJsonRoute := model.Route{}
|
||||||
json.Unmarshal(resp.Body.Bytes(), &respJsonRoute)
|
_ = json.Unmarshal(resp.Body.Bytes(), &respJsonRoute)
|
||||||
if respJsonRoute.Method != "GET" {
|
if respJsonRoute.Method != "GET" {
|
||||||
t.Errorf("Method missmatch. Expected: %s, got: %s", "GET", respJsonRoute.Method)
|
t.Errorf("Method missmatch. Expected: %s, got: %s", "GET", respJsonRoute.Method)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user