Skip to content
Snippets Groups Projects
Commit 3fbc51d3 authored by Ross Fuhrman's avatar Ross Fuhrman Committed by Stan Hu
Browse files

Remove Security Dashboard feature flag

This removes the group_overview_security_dashboard feature flag
parent 2b48eec8
No related branches found
No related tags found
No related merge requests found
---
title: Remove Security Dashboard feature flag
merge_request: 31820
author:
type: other
Loading
Loading
@@ -100,9 +100,7 @@ module Gitlab
.merge(services_usage)
.merge(approximate_counts)
}.tap do |data|
if Feature.enabled?(:group_overview_security_dashboard)
data[:counts][:user_preferences] = user_preferences_usage
end
data[:counts][:user_preferences] = user_preferences_usage
end
end
# rubocop: enable CodeReuse/ActiveRecord
Loading
Loading
Loading
Loading
@@ -154,11 +154,6 @@ describe Gitlab::UsageData do
expect(expected_keys - count_data.keys).to be_empty
end
 
it 'does not gather user preferences usage data when the feature is disabled' do
stub_feature_flags(group_overview_security_dashboard: false)
expect(subject[:counts].keys).not_to include(:user_preferences)
end
it 'gathers projects data correctly' do
count_data = subject[:counts]
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment