Commit b362c774 authored by Rémy Coutable's avatar Rémy Coutable

Disable the MR feature after creating the MRs in ES GlobalSearch specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4b464eaa
......@@ -128,10 +128,11 @@ describe 'GlobalSearch' do
def create_items(project, feature_settings = nil)
Sidekiq::Testing.inline! do
project.project_feature.update!(feature_settings) if feature_settings
create :issue, title: 'term', project: project
create :merge_request, title: 'term', target_project: project, source_project: project
project.project_feature.update!(feature_settings) if feature_settings
project.repository.index_blobs
project.repository.index_commits
......
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