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

Merge branch 'backport-ee-change-for-test' into 'master'

Backport EE change for setting up forked project

See merge request gitlab-org/gitlab-ce!14817
parents a6d09bc6 b0ba1581
......@@ -6,11 +6,7 @@ describe MergeRequests::Conflicts::ResolveService do
let(:project) { create(:project, :public, :repository) }
let(:forked_project) do
forked_project = fork_project(project, user)
TestEnv.copy_repo(forked_project,
bare_repo: TestEnv.forked_repo_path_bare,
refs: TestEnv::FORKED_BRANCH_SHA)
forked_project
fork_project_with_submodules(project, user)
end
let(:merge_request) do
......
......@@ -52,7 +52,7 @@ module ProjectForksHelper
TestEnv.copy_repo(forked_project,
bare_repo: TestEnv.forked_repo_path_bare,
refs: TestEnv::FORKED_BRANCH_SHA)
forked_project.repository.after_import
forked_project
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