diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 21:07:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-22 21:07:27 +0300 |
commit | 0c6f357040350390191b975c864064b027ec1026 (patch) | |
tree | e546c504086b9ca84fbdf297de302a864d976bf1 /spec/lib/gitlab/usage_data_spec.rb | |
parent | b52aefb5996cdd22dc969161d414244a59046e6e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/usage_data_spec.rb')
-rw-r--r-- | spec/lib/gitlab/usage_data_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb index 94c4544f754..7be10c2e357 100644 --- a/spec/lib/gitlab/usage_data_spec.rb +++ b/spec/lib/gitlab/usage_data_spec.rb @@ -397,7 +397,7 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures, feature_category: :servic user = create(:user) project = create(:project, creator: user) issue = create(:issue, project: project, author: user) - create(:issue, project: project, author: User.support_bot) + create(:issue, project: project, author: Users::Internal.support_bot) create(:note, project: project, noteable: issue, author: user) create(:todo, project: project, target: issue, author: user) create(:jira_integration, :jira_cloud_service, active: true, project: create(:project, :jira_dvcs_cloud, creator: user)) @@ -431,7 +431,7 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures, feature_category: :servic user = create(:user) project = create(:project, creator: user) create(:issue, project: project, author: user) - create(:issue, project: project, author: User.support_bot) + create(:issue, project: project, author: Users::Internal.support_bot) end expect(described_class.usage_activity_by_stage_plan({})).to include(issues: 3) @@ -883,7 +883,7 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures, feature_category: :servic let(:project) { create(:project, :service_desk_enabled) } it 'gathers Service Desk data' do - create_list(:issue, 2, :confidential, author: User.support_bot, project: project) + create_list(:issue, 2, :confidential, author: Users::Internal.support_bot, project: project) expect(subject).to eq(service_desk_enabled_projects: 1, service_desk_issues: 2) |