Commit 927dde77 authored by Mark Lapierre's avatar Mark Lapierre

Use existing users if signup disabled

parent 49410a8c
......@@ -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