Commit 16031ac1 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'ashmckenzie/ensure-name-passes-mime-validation' into 'master'

Prefer default FactoryBot

See merge request gitlab-org/gitlab!65941
parents 307385ef 1092acaa
...@@ -91,13 +91,7 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests ...@@ -91,13 +91,7 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests
end end
def new_user def new_user
name = FFaker::Name.name FactoryBot.create(:user)
FactoryBot.create(
:user,
name: name,
username: FFaker::Internet.user_name(name),
email: FFaker::Internet.email
)
end end
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