Commit 96e2d92c authored by Arturo Herrero's avatar Arturo Herrero

Fix build removing hipchat service

parent 2fd414cb
...@@ -1370,9 +1370,9 @@ class Project < ApplicationRecord ...@@ -1370,9 +1370,9 @@ class Project < ApplicationRecord
end end
def disabled_services def disabled_services
return %w(datadog hipchat) unless Feature.enabled?(:datadog_ci_integration, self) return %w[datadog hipchat] unless Feature.enabled?(:datadog_ci_integration, self)
%w(hipchat) %w[hipchat]
end end
def find_or_initialize_service(name) def find_or_initialize_service(name)
......
...@@ -12,7 +12,7 @@ class Service < ApplicationRecord ...@@ -12,7 +12,7 @@ class Service < ApplicationRecord
SERVICE_NAMES = %w[ SERVICE_NAMES = %w[
asana assembla bamboo bugzilla buildkite campfire confluence custom_issue_tracker datadog discord asana assembla bamboo bugzilla buildkite campfire confluence custom_issue_tracker datadog discord
drone_ci emails_on_push ewm external_wiki flowdock hangouts_chat hipchat irker jira drone_ci emails_on_push ewm external_wiki flowdock hangouts_chat irker jira
mattermost mattermost_slash_commands microsoft_teams packagist pipelines_email mattermost mattermost_slash_commands microsoft_teams packagist pipelines_email
pivotaltracker prometheus pushover redmine slack slack_slash_commands teamcity unify_circuit webex_teams youtrack pivotaltracker prometheus pushover redmine slack slack_slash_commands teamcity unify_circuit webex_teams youtrack
].freeze ].freeze
......
...@@ -8013,7 +8013,6 @@ State of a Sentry error. ...@@ -8013,7 +8013,6 @@ State of a Sentry error.
| `FLOWDOCK_SERVICE` | FlowdockService type. | | `FLOWDOCK_SERVICE` | FlowdockService type. |
| `GITHUB_SERVICE` | GithubService type. | | `GITHUB_SERVICE` | GithubService type. |
| `HANGOUTS_CHAT_SERVICE` | HangoutsChatService type. | | `HANGOUTS_CHAT_SERVICE` | HangoutsChatService type. |
| `HIPCHAT_SERVICE` | HipchatService type. |
| `IRKER_SERVICE` | IrkerService type. | | `IRKER_SERVICE` | IrkerService type. |
| `JENKINS_SERVICE` | JenkinsService type. | | `JENKINS_SERVICE` | JenkinsService type. |
| `JIRA_SERVICE` | JiraService type. | | `JIRA_SERVICE` | JiraService type. |
......
...@@ -42,7 +42,7 @@ RSpec.describe API::Services do ...@@ -42,7 +42,7 @@ RSpec.describe API::Services do
end end
end end
(Service.available_services_names - Project.new.disabled_services).each do |service| Service.available_services_names.each do |service|
describe "PUT /projects/:id/services/#{service.dasherize}" do describe "PUT /projects/:id/services/#{service.dasherize}" do
include_context service include_context service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment