diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-18 18:10:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-18 18:10:16 +0300 |
commit | c8cc2fe990c52cabcb9912b2b01b5bf16b33d88f (patch) | |
tree | 101b52764100d09d0f49e9277cfd7ac5383e7aeb /spec/factories/usage_data.rb | |
parent | 38a1a6cb91bd4cd95d18db9a4bfd219bfb75401b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/usage_data.rb')
-rw-r--r-- | spec/factories/usage_data.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/factories/usage_data.rb b/spec/factories/usage_data.rb index 2aa926e4dd8..de1e4aa82fa 100644 --- a/spec/factories/usage_data.rb +++ b/spec/factories/usage_data.rb @@ -9,10 +9,10 @@ FactoryBot.define do projects << create(:project, :repository) group = create(:group) create(:board, project: projects[0]) - create(:jira_service, project: projects[0]) - create(:jira_service, :without_properties_callback, project: projects[1]) - create(:jira_service, :jira_cloud_service, project: projects[2]) - create(:jira_service, :without_properties_callback, project: projects[3], properties: { url: 'https://mysite.atlassian.net' }) + create(:jira_integration, project: projects[0]) + create(:jira_integration, :without_properties_callback, project: projects[1]) + create(:jira_integration, :jira_cloud_service, project: projects[2]) + create(:jira_integration, :without_properties_callback, project: projects[3], properties: { url: 'https://mysite.atlassian.net' }) jira_label = create(:label, project: projects[0]) create(:jira_import_state, :finished, project: projects[0], label: jira_label, failed_to_import_count: 2, imported_issues_count: 7, total_issue_count: 9) create(:jira_import_state, :finished, project: projects[1], label: jira_label, imported_issues_count: 3, total_issue_count: 3) |