Commit ec9a65c5 authored by Mark Lapierre's avatar Mark Lapierre

Create fork via API as the fork user

parent 1d7d32b1
......@@ -56,6 +56,8 @@ module QA
def fabricate_via_api!
populate(:upstream, :user)
@api_client = Runtime::API::Client.new(:gitlab, is_new_session: false, user: user)
Runtime::Logger.debug("Forking project #{upstream.name} to namespace #{user.username}...")
super
wait_until_forked
......
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