Commit ae45f04e authored by Jason Goodman's avatar Jason Goodman Committed by Dylan Griffith

Remove buy_storage_link feature flag

Permanently enables purchase more storage button in usage quotas page
parent bf99d5e3
...@@ -47,7 +47,6 @@ module EE ...@@ -47,7 +47,6 @@ module EE
end end
def purchase_storage_link_enabled?(namespace) def purchase_storage_link_enabled?(namespace)
::Feature.enabled?(:buy_storage_link) &&
namespace.additional_repo_storage_by_namespace_enabled? namespace.additional_repo_storage_by_namespace_enabled?
end end
......
---
title: Add purchase more storage button to storage usage quotas page
merge_request: 55246
author:
type: added
---
name: buy_storage_link
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35360
rollout_issue_url:
milestone: '13.2'
type: development
group: group::fulfillment
default_enabled: false
...@@ -165,16 +165,13 @@ RSpec.describe EE::NamespaceStorageLimitAlertHelper do ...@@ -165,16 +165,13 @@ RSpec.describe EE::NamespaceStorageLimitAlertHelper do
let_it_be(:namespace) { build(:namespace) } let_it_be(:namespace) { build(:namespace) }
where(:buy_storage_link_enabled, :additional_repo_storage_by_namespace_enabled, :result) do where(:additional_repo_storage_by_namespace_enabled, :result) do
false | false | false false | false
false | true | false true | true
true | false | false
true | true | true
end end
with_them do with_them do
before do before do
stub_feature_flags(buy_storage_link: buy_storage_link_enabled)
allow(namespace).to receive(:additional_repo_storage_by_namespace_enabled?) allow(namespace).to receive(:additional_repo_storage_by_namespace_enabled?)
.and_return(additional_repo_storage_by_namespace_enabled) .and_return(additional_repo_storage_by_namespace_enabled)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment