Skip to content

Commit

Permalink
change form to json
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosRoGuerra committed Aug 3, 2021
1 parent 8a4b8af commit 792f0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsuru/client/services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 792f0ee

Please sign in to comment.