summaryrefslogtreecommitdiff
path: root/qa/qa/resource/project_imported_from_github.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/resource/project_imported_from_github.rb')
-rw-r--r--qa/qa/resource/project_imported_from_github.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/resource/project_imported_from_github.rb b/qa/qa/resource/project_imported_from_github.rb
index cffeed7a64b..28a0f12b3e3 100644
--- a/qa/qa/resource/project_imported_from_github.rb
+++ b/qa/qa/resource/project_imported_from_github.rb
@@ -34,7 +34,7 @@ module QA
def fabricate_via_api!
super
rescue ResourceURLMissingError
- "#{Runtime::Scenario.gitlab_address}/#{group.full_path}/#{name}"
+ "#{Runtime::Scenario.gitlab_address}/#{full_path}"
end
def api_post_path
@@ -49,7 +49,7 @@ module QA
{
repo_id: github_repo_id,
new_name: name,
- target_namespace: group.full_path,
+ target_namespace: @personal_namespace || group.full_path,
personal_access_token: github_personal_access_token,
ci_cd_only: false
}