Commit 7ca7b84a authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'qa-fix-assign-codeowners-spec' into 'master'

Use existing users in ee_assign_code_owners_spec.rb if signup is disabled

Closes gitlab-org/quality/staging#20

See merge request gitlab-org/gitlab-ee!8968
parents 132e2f97 927dde77
......@@ -9,8 +9,8 @@ module QA
# Create one user to be the assigned approver and another user who will
# not be an approver
approver = Resource::User.fabricate!
non_approver = Resource::User.fabricate!
approver = Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1)
non_approver = Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_2, Runtime::Env.gitlab_qa_password_2)
# Create a project and assign the users to it
project = Resource::Project.fabricate! do |project|
......
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