Skip to content

Commit

Permalink
Remove content-type assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
gvicentin committed Apr 8, 2024
1 parent ac4251c commit 34d38bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/rpaas/client/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func TestClientThroughTsuru_Start(t *testing.T) {
assert.Equal(t, r.Method, "POST")
assert.Equal(t, fmt.Sprintf("/services/%s/proxy/%s?callback=%s", FakeTsuruService, "my-instance", "/resources/my-instance/start"), r.URL.RequestURI())
assert.Equal(t, "Bearer f4k3t0k3n", r.Header.Get("Authorization"))
assert.Equal(t, "application/x-www-form-urlencoded", r.Header.Get("Content-Type"))
w.WriteHeader(http.StatusOK)
},
},
Expand Down
1 change: 0 additions & 1 deletion pkg/rpaas/client/stop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func TestClientThroughTsuru_Stop(t *testing.T) {
assert.Equal(t, r.Method, "POST")
assert.Equal(t, fmt.Sprintf("/services/%s/proxy/%s?callback=%s", FakeTsuruService, "my-instance", "/resources/my-instance/stop"), r.URL.RequestURI())
assert.Equal(t, "Bearer f4k3t0k3n", r.Header.Get("Authorization"))
assert.Equal(t, "application/x-www-form-urlencoded", r.Header.Get("Content-Type"))
w.WriteHeader(http.StatusOK)
},
},
Expand Down

0 comments on commit 34d38bd

Please sign in to comment.