Commit bb6a848d authored by Markus Koller's avatar Markus Koller

Merge branch '218718-remove-extraneous-feature-flags' into 'master'

Remove obsoleted sectional_codeowners FF in tests

See merge request gitlab-org/gitlab!32814
parents 4f92e5dd 54db9d69
......@@ -32,8 +32,6 @@ describe 'Projects > Merge Requests > User edits a merge request' do
let(:ruby_owner) { create(:user, username: 'ruby-owner') }
before do
stub_feature_flags(sectional_codeowners: false)
project.add_developer(ruby_owner)
project.repository.create_file(user, 'ruby.rb', '# a ruby file',
message: 'Add a ruby file',
......
......@@ -22,7 +22,6 @@ describe 'File blob > Code owners', :js do
context 'when the feature is available' do
before do
stub_licensed_features(code_owners: true)
stub_feature_flags(sectional_codeowners: false)
end
it 'shows the code owners related to a file' do
......
......@@ -26,7 +26,6 @@ describe Gitlab::CodeOwners do
context 'when the feature is available' do
before do
stub_licensed_features(code_owners: true)
stub_feature_flags(sectional_codeowners: false)
end
it 'returns users for a blob' do
......@@ -60,7 +59,6 @@ describe Gitlab::CodeOwners do
before do
stub_licensed_features(code_owners: true)
stub_feature_flags(sectional_codeowners: false)
end
it "return equivalent results" do
......@@ -91,7 +89,6 @@ describe Gitlab::CodeOwners do
context 'when the feature is available' do
before do
stub_licensed_features(code_owners: true)
stub_feature_flags(sectional_codeowners: false)
end
it 'returns owners for merge request' do
......
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