diff --git a/tsuru/client/services_test.go b/tsuru/client/services_test.go index ac320a953..80127bc20 100644 --- a/tsuru/client/services_test.go +++ b/tsuru/client/services_test.go @@ -285,7 +285,7 @@ func (s *S) TestServiceInstanceBindWithoutEnvironmentVariables(c *check.C) { method := req.Method == "PUT" path := strings.HasSuffix(req.URL.Path, "/services/mysql/instances/my-mysql/g1") var bindResult map[string]interface{} - err := json.NewDecoder(req.Body).Decode(&bindResult) + err = json.NewDecoder(req.Body).Decode(&bindResult) c.Assert(err, check.IsNil) c.Assert(bindResult, check.DeepEquals, map[string]interface{}{}) return method && path