Commit 4251a0f4 authored by Kerri Miller's avatar Kerri Miller

Remove mrc_api_use_raw_diffs_from_gitaly flag

Changelog: removed
parent 96a8605e
---
name: mrc_api_use_raw_diffs_from_gitaly
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46190
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/225322
type: development
group: group::code review
default_enabled: false
milestone: '13.6'
......@@ -24,7 +24,7 @@ module API
end
def expose_raw_diffs?
options[:access_raw_diffs] || ::Feature.enabled?(:mrc_api_use_raw_diffs_from_gitaly, options[:project])
options[:access_raw_diffs]
end
end
end
......
......@@ -1605,11 +1605,7 @@ RSpec.describe API::MergeRequests do
expect(json_response['overflow']).to be_falsy
end
context 'when using DB-backed diffs via feature flag' do
before do
stub_feature_flags(mrc_api_use_raw_diffs_from_gitaly: false)
end
context 'when using DB-backed diffs' do
it_behaves_like 'find an existing merge request'
it 'accesses diffs via DB-backed diffs.diffs' 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