diff options
Diffstat (limited to 'spec/factories/usage_data.rb')
-rw-r--r-- | spec/factories/usage_data.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/factories/usage_data.rb b/spec/factories/usage_data.rb index fc1f5d71f39..f00d1f8b808 100644 --- a/spec/factories/usage_data.rb +++ b/spec/factories/usage_data.rb @@ -19,16 +19,16 @@ FactoryBot.define do create(:jira_import_state, :finished, project: projects[1], label: jira_label, imported_issues_count: 3) create(:jira_import_state, :scheduled, project: projects[1], label: jira_label) create(:prometheus_integration, project: projects[1]) - create(:service, project: projects[1], type: 'JenkinsService', active: true) - create(:service, project: projects[0], type: 'SlackSlashCommandsService', active: true) - create(:service, project: projects[1], type: 'SlackService', active: true) - create(:service, project: projects[2], type: 'SlackService', active: true) - create(:service, project: projects[2], type: 'MattermostService', active: false) - create(:service, group: group, project: nil, type: 'MattermostService', active: true) - mattermost_instance = create(:service, :instance, type: 'MattermostService', active: true) - create(:service, project: projects[1], type: 'MattermostService', active: true, inherit_from_id: mattermost_instance.id) - create(:service, group: group, project: nil, type: 'SlackService', active: true, inherit_from_id: mattermost_instance.id) - create(:service, project: projects[2], type: 'CustomIssueTrackerService', active: true) + create(:integration, project: projects[1], type: 'JenkinsService', active: true) + create(:integration, project: projects[0], type: 'SlackSlashCommandsService', active: true) + create(:integration, project: projects[1], type: 'SlackService', active: true) + create(:integration, project: projects[2], type: 'SlackService', active: true) + create(:integration, project: projects[2], type: 'MattermostService', active: false) + create(:integration, group: group, project: nil, type: 'MattermostService', active: true) + mattermost_instance = create(:integration, :instance, type: 'MattermostService', active: true) + create(:integration, project: projects[1], type: 'MattermostService', active: true, inherit_from_id: mattermost_instance.id) + create(:integration, group: group, project: nil, type: 'SlackService', active: true, inherit_from_id: mattermost_instance.id) + create(:integration, project: projects[2], type: 'CustomIssueTrackerService', active: true) create(:project_error_tracking_setting, project: projects[0]) create(:project_error_tracking_setting, project: projects[1], enabled: false) alert_bot_issues = create_list(:incident, 2, project: projects[0], author: User.alert_bot) |