summaryrefslogtreecommitdiff
path: root/spec/features/usage_stats_consent_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/usage_stats_consent_spec.rb')
-rw-r--r--spec/features/usage_stats_consent_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/usage_stats_consent_spec.rb b/spec/features/usage_stats_consent_spec.rb
index 04bdf25acc0..6fa1d7d76b5 100644
--- a/spec/features/usage_stats_consent_spec.rb
+++ b/spec/features/usage_stats_consent_spec.rb
@@ -19,6 +19,7 @@ RSpec.describe 'Usage stats consent' do
end
gitlab_sign_in(user)
+ gitlab_enable_admin_mode_sign_in(user)
end
it 'hides the banner permanently when sets usage stats' do