diff --git a/pkg/rpaas/client/start_test.go b/pkg/rpaas/client/start_test.go index 912b3f74..4e9ef988 100644 --- a/pkg/rpaas/client/start_test.go +++ b/pkg/rpaas/client/start_test.go @@ -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) }, }, diff --git a/pkg/rpaas/client/stop_test.go b/pkg/rpaas/client/stop_test.go index ae0b0df5..5b5f9d6b 100644 --- a/pkg/rpaas/client/stop_test.go +++ b/pkg/rpaas/client/stop_test.go @@ -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) }, },