diff --git a/connector/configuration_test.go b/connector/configuration_test.go index 039ce09..2c43a24 100644 --- a/connector/configuration_test.go +++ b/connector/configuration_test.go @@ -27,7 +27,7 @@ func TestConfigurationServer(t *testing.T) { t.Errorf("GET /health: expected no error, got %s", err) t.FailNow() } - assertHTTPResponseStatus(t, "GET /health", res, http.StatusNoContent) + assertHTTPResponseStatus(t, "GET /health", res, http.StatusOK) }) t.Run("GET /", func(t *testing.T) { diff --git a/connector/server_test.go b/connector/server_test.go index edf60b0..0ea7f65 100644 --- a/connector/server_test.go +++ b/connector/server_test.go @@ -429,7 +429,7 @@ func TestServerConnector(t *testing.T) { t.Errorf("expected no error, got %s", err) t.FailNow() } - assertHTTPResponseStatus(t, "GET /health", res, http.StatusNoContent) + assertHTTPResponseStatus(t, "GET /health", res, http.StatusOK) }) t.Run("GET /metrics", func(t *testing.T) {