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:
pancho horrillo
2019-10-08 15:33:32 +02:00
parent a4b1a5504b
commit 9ad61249b3
+1 -1
View File
@@ -35,7 +35,7 @@ func TestAppendNewRouteFromRequest(t *testing.T) {
// "command": "echo Hello World | kapow set /response/body"
//}`
respJsonRoute := model.Route{}
json.Unmarshal(resp.Body.Bytes(), &respJsonRoute)
_ = json.Unmarshal(resp.Body.Bytes(), &respJsonRoute)
if respJsonRoute.Method != "GET" {
t.Errorf("Method missmatch. Expected: %s, got: %s", "GET", respJsonRoute.Method)
}